This commit is contained in:
Brendan Abolivier 2019-11-20 09:29:48 +00:00
parent c7376cdfe3
commit 271c322d08
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -397,7 +397,9 @@ 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, create_non_existant_users=True)
result = yield self._complete_login(
user_id, login_submission, create_non_existant_users=True
)
return result