Jun 29 - Update: Fail2ban, welcome email, dunning sequence, escalation
This commit is contained in:
@@ -44,6 +44,8 @@ def login():
|
||||
else:
|
||||
# Generic message — don't reveal whether the username exists
|
||||
flash('Invalid credentials. Please try again.', 'danger')
|
||||
logger.warning('LOGIN_FAILED | ip=%s username=%s',
|
||||
request.remote_addr, form.username.data)
|
||||
|
||||
return render_template('auth/login.html', form=form)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user