Fix an unable to login issue;

introduced in the last commit by mistake
This commit is contained in:
DevilXD committed 2022-12-08 20:10:53 +01:00
1 parent 577a428de2
commit 807141befb
1 file changed
+1 -1
+1 -1
View File
@@ -476,7 +476,7 @@ class LoginForm:
)
# basic input data validation
if (
3 <= len(login_data.username) <= 25 # 3-25 characters in length
not 3 <= len(login_data.username) <= 25 # 3-25 characters in length
and re.match(r'^[a-zA-Z0-9_]+$', login_data.username) # only ascii and underscores
):
self.clear(login=True)