Commit Graph

4 Commits (75e5a6e43738c278390c03c96d5d3e8575a2783c)

Author SHA1 Message Date
Francis Murillo 5fb1c3e934
Revoke all authorized applications on password reset ()
* Clear sessions on password change

* Rename User::clear_sessions to revoke_access for a clearer meaning

* Add reset paassword controller test

* Use User.find instead of User.find_for_authentication for reset password test

* Use redirect and render for better test meaning in reset password

Co-authored-by: Effy Elden <effy@effy.space>
Yamagishi Kazutoshi d10447c3a8 Use raw status code on have_http_status ()
nullkal dfcd2834f9 Redirect to PasswordController#new when reset_password_token is invalid ()
Akihiko Odaki a7f2961621 Spec Auth::PasswordsController ()