diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-21 11:34:43 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-21 11:38:44 +0100 |
commit | 42f12ad92f5bc372569f15ffc81e9cf8146d2ac6 (patch) | |
tree | 5b9e4d484c7a3e0110c8fafeed2428fb00a20b8b /synapse/rest | |
parent | Don't allow people to register user ids which only differ by case to an exist... (diff) | |
download | synapse-42f12ad92f5bc372569f15ffc81e9cf8146d2ac6.tar.xz |
When logging in fetch user by user_id case insensitively, *unless* there are multiple case insensitive matches, in which case require the exact user_id
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/login.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/rest/client/v1/login.py b/synapse/rest/client/v1/login.py |