diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-10-31 10:38:40 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-10-31 10:48:41 +0000 |
commit | 1b65ae00ac7e15767c2e61036ba349170d0e91b7 (patch) | |
tree | c8702ce3066f085c07a9b2d10e9b42ba8d18dc57 /synapse/storage | |
parent | Merge pull request #2605 from matrix-org/luke/fix-group-creation-error-wording (diff) | |
download | synapse-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 'synapse/storage')
0 files changed, 0 insertions, 0 deletions