mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 00:54:15 -04:00
Delete pushers when changing password
This commit is contained in:
parent
df4c12c762
commit
a32e876ef4
3 changed files with 31 additions and 37 deletions
|
@ -70,4 +70,7 @@ class LoginHandler(BaseHandler):
|
|||
|
||||
yield self.store.user_set_password_hash(user_id, password_hash)
|
||||
yield self.store.user_delete_access_tokens_apart_from(user_id, token_id)
|
||||
yield self.hs.get_pusherpool().remove_pushers_by_user_access_token(
|
||||
user_id, token_id
|
||||
)
|
||||
yield self.store.flush_user(user_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue