Module: DeviseMeteorAdapter
- Defined in:
- lib/devise_meteor/strategies/encrypter.rb
Instance Method Summary collapse
Instance Method Details
#compare(klass, hashed_password, password) ⇒ Object
8 9 10 11 12 |
# File 'lib/devise_meteor/strategies/encrypter.rb', line 8 def compare(klass, hashed_password, password) klass.pepper = nil password = ::Digest::SHA256.hexdigest(password) super end |
#digest(klass, password) ⇒ Object
2 3 4 5 6 |
# File 'lib/devise_meteor/strategies/encrypter.rb', line 2 def digest(klass, password) klass.pepper = nil password = ::Digest::SHA256.hexdigest(password) super end |