summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-10-31 10:38:40 +0000
committerRichard van der Hoff <richard@matrix.org>2017-10-31 10:48:41 +0000
commit1b65ae00ac7e15767c2e61036ba349170d0e91b7 (patch)
treec8702ce3066f085c07a9b2d10e9b42ba8d18dc57 /docs
parentMerge pull request #2605 from matrix-org/luke/fix-group-creation-error-wording (diff)
downloadsynapse-1b65ae00ac7e15767c2e61036ba349170d0e91b7.tar.xz
Refactor some logic from LoginRestServlet into AuthHandler
I'm going to need some more flexibility in handling login types in password
auth providers, so as a first step, move some stuff from LoginRestServlet into
AuthHandler.

In particular, we pass everything other than SAML, JWT and token logins down to
the AuthHandler, which now has responsibility for checking the login type and
fishing the password out of the login dictionary, as well as qualifying the
user_id if need be. Ideally SAML, JWT and token would go that way too, but
there's no real need for it right now and I'm trying to minimise impact.

This commit *should* be non-functional.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions