Fix an unable to login issue;

introduced in the last commit by mistake
This commit is contained in:
DevilXD
2022-12-08 20:10:53 +01:00
parent 577a428de2
commit 807141befb

2
gui.py
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)