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
1 changed files with 3 additions and 1 deletions

View File

@ -397,7 +397,9 @@ class LoginRestServlet(RestServlet):
raise LoginError(401, "Invalid JWT", errcode=Codes.UNAUTHORIZED) raise LoginError(401, "Invalid JWT", errcode=Codes.UNAUTHORIZED)
user_id = UserID(user, self.hs.hostname).to_string() 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 return result