devise
devise copied to clipboard
Passkeys support: Rename Devise::Strategies::Authenticatable => PasswordAuthenticatable
Rename Devise::Strategies::Authenticatable => PasswordAuthenticatable
- To begin the process of refactoring Devise to support passkeys (https://github.com/heartcombo/devise/issues/5527), we need to decouple authentication from being specifically tied to passwords.
- The first step is explicitly prefixing generically-named components like
AuthenticatablewithPassword, since they concern password authentication
- The first step is explicitly prefixing generically-named components like
Add Devise::Strategies::Authenticatable shim w/ deprecation warning
- To maintain compatability with exisiting installations, we need the
Devise::Strategies::Authenticatableclass.- This re-adds the class in, subclassing from
PasswordAuthenticableand printing a deprecation warning
- This re-adds the class in, subclassing from