Bugfix from testrun
This commit is contained in:
parent
3814fbf08f
commit
31a344b410
2 changed files with 949 additions and 2028 deletions
|
@ -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
Loading…
Reference in a new issue