Skip to content
Snippets Groups Projects
Commit 61cd0346 authored by Erik Johnston's avatar Erik Johnston
Browse files

Merge pull request #238 from matrix-org/fix_set_password

Fix set password
parents 099ce4bc f764f926
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ class AuthHandler(BaseHandler):
if not user_id.startswith('@'):
user_id = UserID.create(user_id, self.hs.hostname).to_string()
self._check_password(user_id, password)
yield self._check_password(user_id, password)
defer.returnValue(user_id)
@defer.inlineCallbacks
......
......@@ -79,7 +79,7 @@ class PasswordRestServlet(RestServlet):
new_password = params['new_password']
yield self.auth_handler.set_password(
user_id, new_password, None
user_id, new_password
)
defer.returnValue((200, {}))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment