diff options
| author | Erik Johnston <erik@matrix.org> | 2014-09-29 13:35:38 +0100 |
|---|---|---|
| committer | Erik Johnston <erik@matrix.org> | 2014-09-29 13:35:38 +0100 |
| commit | c65306f8779d480a10b6ce318e73b458538e1eef (patch) | |
| tree | 5d4b8b93b37f60b77cfecac95bc0ce9e9356918e | |
| parent | SYN-48: Track User-Agents as well as IPs for client devices. (diff) | |
| download | synapse-c65306f8779d480a10b6ce318e73b458538e1eef.tar.xz | |
Add auth check to test if a user is an admin or not.
| -rw-r--r-- | synapse/api/auth.py | 3 | ||||
| -rw-r--r-- | synapse/storage/registration.py | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py |
