code_spécifique_watcha
Brendan Abolivier 5 years ago
parent c7376cdfe3
commit 271c322d08
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD
  1. 4
      synapse/rest/client/v1/login.py

@ -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

Loading…
Cancel
Save