Skip to content
Snippets Groups Projects
Unverified Commit c7376cdf authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Apply suggestions from code review

parent 4fc53bf1
No related branches found
No related tags found
No related merge requests found
......@@ -135,8 +135,8 @@ class AuthHandler(BaseHandler):
AuthError if the client has completed a login flow, and it gives
a different user to `requester`
LimitExceededError if the ratelimiter's failed requests count for this
user is too high too proceed
LimitExceededError if the ratelimiter's failed request count for this
user is too high to proceed
"""
......
......@@ -397,7 +397,7 @@ class LoginRestServlet(RestServlet):
raise LoginError(401, "Invalid JWT", errcode=Codes.UNAUTHORIZED)
user_id = UserID(user, self.hs.hostname).to_string()
result = yield self._complete_login(user_id, login_submission)
result = yield self._complete_login(user_id, login_submission, create_non_existant_users=True)
return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment