Commit graph

1 commit

Author SHA1 Message Date
Sebastian Arcila Valenzuela
5012c62240 Add User#will_save_change_to_login? to clear reset_password_tokens
Devise checks before updating any of the authentication_keys if it
needs to clear the reset_password_tokens.

This should fix:
https://gitlab.com/gitlab-org/gitlab-ce/issues/42733 (Weak
authentication and session management)
2019-08-21 13:05:55 +02:00