mirror of
https://github.com/wassname/flask-security.git
synced 2026-08-02 12:40:33 +08:00
Fix password_changed signal to behave like the other signals. Fixes #222
This commit is contained in:
@@ -42,4 +42,4 @@ def change_user_password(user, password):
|
||||
user.password = encrypt_password(password)
|
||||
_datastore.put(user)
|
||||
send_password_changed_notice(user)
|
||||
password_changed.send(user, app=app._get_current_object())
|
||||
password_changed.send(app._get_current_object(), user=user)
|
||||
|
||||
Reference in New Issue
Block a user