summary refs log tree commit diff
path: root/synapse/rest/client/v1/login.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-11-20 09:29:48 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-11-20 09:29:48 +0000
commit271c322d08a3d13c986d97cbc40e72eef50e92ba (patch)
tree633a18ae91cc2a3ea580e6c2ccf257bc47fafde1 /synapse/rest/client/v1/login.py
parentApply suggestions from code review (diff)
downloadsynapse-271c322d08a3d13c986d97cbc40e72eef50e92ba.tar.xz
Lint
Diffstat (limited to 'synapse/rest/client/v1/login.py')
-rw-r--r--synapse/rest/client/v1/login.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/login.py b/synapse/rest/client/v1/login.py
index f8d58afb29..19eb15003d 100644
--- a/synapse/rest/client/v1/login.py
+++ b/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