mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 10:24:52 -04:00
Clean up synapse.rest.admin
(#11535)
This commit is contained in:
parent
83a74d9350
commit
7ecaa3b976
15 changed files with 96 additions and 165 deletions
|
@ -37,7 +37,7 @@ class UsernameAvailableRestServlet(RestServlet):
|
|||
}
|
||||
"""
|
||||
|
||||
PATTERNS = admin_patterns("/username_available")
|
||||
PATTERNS = admin_patterns("/username_available$")
|
||||
|
||||
def __init__(self, hs: "HomeServer"):
|
||||
self.auth = hs.get_auth()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue