Skip to content

Commit

Permalink
Add a helpful comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhooper committed Jun 20, 2018
1 parent 653d2cd commit cde0ce9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/concerns/user_access_key_overrides.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def password=(new_password)
write_legacy_password_attributes(digest)
end

# This is a devise method, which we are overriding. This should not be removed
# as Devise depends on this for things like building the key to use when
# storing the user in the session.
def authenticatable_salt
return if encrypted_password_digest.blank?
Encryption::PasswordVerifier::PasswordDigest.parse_from_string(
Expand Down

0 comments on commit cde0ce9

Please sign in to comment.