mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-24 01:04:20 +01:00
Add a password change notification email (#1221)
* Adds an email notification for password resets
This commit is contained in:
@@ -135,6 +135,7 @@ def reset_password(data=None):
|
||||
name=user.name,
|
||||
)
|
||||
db.session.close()
|
||||
email.password_change_alert(user.email)
|
||||
return redirect(url_for("auth.login"))
|
||||
|
||||
if request.method == "POST":
|
||||
|
||||
Reference in New Issue
Block a user