diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2017-10-23 11:06:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-23 11:06:57 +0100 |
commit | bd0d84bf92ff98f859d6f5a9bf68b37978db89c0 (patch) | |
tree | d0b93dc743a38764ea5d240889fbc72804786486 /synapse/handlers/auth.py | |
parent | Merge pull request #2559 from matrix-org/erikj/group_id_validation (diff) | |
parent | Remove pointless create() method (diff) | |
download | synapse-bd0d84bf92ff98f859d6f5a9bf68b37978db89c0.tar.xz |
Merge pull request #2560 from matrix-org/rav/kill_pointless_method
Remove pointless create() method
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r-- | synapse/handlers/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py index b00446bec0..9cef9d184b 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py @@ -267,7 +267,7 @@ class AuthHandler(BaseHandler): user_id = authdict["user"] password = authdict["password"] if not user_id.startswith('@'): - user_id = UserID.create(user_id, self.hs.hostname).to_string() + user_id = UserID(user_id, self.hs.hostname).to_string() return self._check_password(user_id, password) |