Bugfix from testrun

This commit is contained in:
Ozzie Isaacs 2024-01-17 20:29:47 +01:00
parent 3814fbf08f
commit 31a344b410
2 changed files with 949 additions and 2028 deletions

View file

@ -1354,7 +1354,7 @@ def login():
@limiter.limit("3/minute", key_func=lambda: request.form.get('username', "").strip().lower())
def login_post():
form = request.form.to_dict()
username = form.get('username', "").strip().lower().replace("\n","\\n").replace("\r","")
username = form.get('username', "").strip().lower().replace("\n","").replace("\r","")
try:
limiter.check()
except RateLimitExceeded:

File diff suppressed because it is too large Load diff