| Commit message (Collapse) | Author | Files | Lines |
|
Provide a hook where password auth providers can say they know about other
login types, and get passed the relevant parameters
|
|
to avoid clobbering guest user displaynames on registration
|
|
Also move duplicated deactivation code into the auth handler.
I want to add some hooks when we deactivate an access token, so let's bring it
all in here so that there's somewhere to put it.
|
|
|
|
Carefully though, to avoid logging passwords
|
|
to avoid leaking ugly MXIDs and cluttering up the timeline with
displayname changes as well as membership joins for autojoin rooms
(e.g. the status autojoin rooms), automatically set the displayname
to match the localpart of the mxid upon registration.
|
|
I'm going to need to make the device_handler depend on the auth_handler, so I
need to break this dependency to avoid a cycle.
It turns out that the auth_handler was only using the device_handler in one
place which was an edge case which we can more elegantly handle by throwing an
error rather than fixing it up.
|
|
|
|
|
|
|
|
|
|
|
|
also includes renamings to make things more consistent.
|
|
Postgres doesn't support NULs in strings so it makes the script
throw an exception and stop if any values contain \0. Drop them
with appropriate warning.
|
|
|
|
Provide an interface by which password auth providers can register db schema
files to be run at startup
|