Method: EncryptedPassword#password
- Defined in:
- lib/app/models/concerns/encrypted_password.rb
#password ⇒ Object
Retrieve the password
25 26 27 28 29 30 |
# File 'lib/app/models/concerns/encrypted_password.rb', line 25 def password encrypted_password.present? ? cipher.decrypt_and_verify(encrypted_password) : '' rescue StandardError => error App47Logger.log_warn("Unable to retrieve password for #{inspect}", error) nil end |