Method: Devise::Models::DatabaseAuthenticatable#authenticatable_salt
- Defined in:
- lib/devise/models/database_authenticatable.rb
#authenticatable_salt ⇒ Object
A reliable way to expose the salt regardless of the implementation.
158 159 160 |
# File 'lib/devise/models/database_authenticatable.rb', line 158 def authenticatable_salt encrypted_password[0,29] if encrypted_password end |