You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
doh
This commit is contained in:
@@ -49,7 +49,7 @@ def login():
|
||||
flask.flash(_('Too many attempts from your IP (rate-limit)'), 'error')
|
||||
return flask.render_template('login.html', form=form, fields=fields)
|
||||
if utils.limiter.should_rate_limit_user(username, client_ip, device_cookie, device_cookie_username):
|
||||
flask.flash(_('Too many attempts for this user (rate-limit))', 'error')
|
||||
flask.flash(_('Too many attempts for this user (rate-limit)'), 'error')
|
||||
return flask.render_template('login.html', form=form, fields=fields)
|
||||
user = models.User.login(username, form.pw.data)
|
||||
if user:
|
||||
|
Reference in New Issue
Block a user