mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-29 08:29:36 +00:00
Fix an unable to login issue;
introduced in the last commit by mistake
This commit is contained in:
2
gui.py
2
gui.py
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user