diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-04-21 20:18:29 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-04-21 20:18:29 +0100 |
commit | 3a7d7a3f22fe7358b23250e1e8b8d5a9e4559f23 (patch) | |
tree | 75edbff530af270a722651f60f77650dce5a20c5 /synapse/api/auth.py | |
parent | Bump syutil version to 0.0.5 (diff) | |
download | synapse-3a7d7a3f22fe7358b23250e1e8b8d5a9e4559f23.tar.xz |
Sanitise a user's powerlevel to an int() before numerical comparison, because otherwise Python is "helpful" with it (SYN-351)
Diffstat (limited to '')
-rw-r--r-- | synapse/api/auth.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py |