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.
131 132 133 |
# File 'lib/devise/models/database_authenticatable.rb', line 131 def authenticatable_salt encrypted_password[0,29] if encrypted_password end |