Skip to content
Commit ebd2b0d3 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by backportbot[bot]
Browse files

Fix app password updating out of bounds



When your password changes out of bounds your Nextcloud tokens will
become invalid. There is no real way around that. However we should make
sure that if you successfully log in again your passwords are all
updates

* Added event listener to the PostLoggedInEvent so that we can act on it
  - Only if it is not a token login
* Make sure that we actually reset the invalid state when we update a
  token. Else it keeps being marked invalid and thus not used.

Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent 468f1fc5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment