mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 00:14:55 -04:00
Merge erikj/user_dedup to develop
This commit is contained in:
parent
a2355fae7e
commit
d3c0e48859
4 changed files with 50 additions and 12 deletions
|
@ -83,10 +83,11 @@ class LoginRestServlet(ClientV1RestServlet):
|
|||
|
||||
if not user_id.startswith('@'):
|
||||
user_id = UserID.create(
|
||||
user_id, self.hs.hostname).to_string()
|
||||
user_id, self.hs.hostname
|
||||
).to_string()
|
||||
|
||||
auth_handler = self.handlers.auth_handler
|
||||
access_token, refresh_token = yield auth_handler.login_with_password(
|
||||
user_id, access_token, refresh_token = yield auth_handler.login_with_password(
|
||||
user_id=user_id,
|
||||
password=login_submission["password"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue