mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
This change is required to better support scenarios where records don't have an `encrypted_password` column and the password is managed elsewhere (LDAP, for instance). The move from `email_changed?` to loop through the `authentication_keys` is also useful to support edge cases where users can authenticate with different attributes besides their email. Closes #3624.