We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afd0045 commit 730ad0aCopy full SHA for 730ad0a
nightwatch/rics/__init__.py
@@ -106,7 +106,7 @@ async def route_index(client: ClientJoinModel) -> JSONResponse:
106
"message": "Requested username has whitespace that should be removed prior to joining."
107
}, status_code = 400)
108
109
- if client.username in ["nightwatch", "admin", "moderator"]:
+ if client.username.lower() in ["nightwatch", "admin", "moderator"]:
110
return JSONResponse({
111
"code": 400,
112
"message": "Requested username is restricted for use."
0 commit comments