diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-05-23 10:35:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 10:35:43 -0400 |
commit | 7c9b91790c013d11ca88a9d01e0054939eda8523 (patch) | |
tree | 4682d94994f22cbb9f030a646e6c530f6cc1d593 /docs | |
parent | Use a custom scheme & the worker name for replication requests. (#15578) (diff) | |
download | synapse-7c9b91790c013d11ca88a9d01e0054939eda8523.tar.xz |
Consolidate logic to check for deactivated users. (#15634)
This moves the deactivated user check to the method which all login types call. Additionally updates the application service tests to be more realistic by removing invalid tests and fixing server names.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/modules/password_auth_provider_callbacks.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/modules/password_auth_provider_callbacks.md b/docs/modules/password_auth_provider_callbacks.md index 8275f7ebdc..d66ac7df31 100644 --- a/docs/modules/password_auth_provider_callbacks.md +++ b/docs/modules/password_auth_provider_callbacks.md @@ -46,6 +46,9 @@ instead. If the authentication is unsuccessful, the module must return `None`. +Note that the user is not automatically registered, the `register_user(..)` method of +the [module API](writing_a_module.html) can be used to lazily create users. + If multiple modules register an auth checker for the same login type but with different fields, Synapse will refuse to start. |