From Rails 7.1 has_secure_password now includes a password_challenge accessor to validate it against the currently persisted password.
Check out my blog on this for more info
https://blog.kiprosh.com/has_secure_password-supports-password-challenge/
Top comments (0)