Sha256: d4d6c36d623049fa946299fe875ae3e7a81d0742f86ceaf9687fc45f1a33d39a
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 Bytes
Contents
module DeviseMeteorAdapter def digest(klass, password) klass.pepper = nil password = ::Digest::SHA256.hexdigest(password) super end def compare(klass, hashed_password, password) klass.pepper = nil password = ::Digest::SHA256.hexdigest(password) super end end Devise::Encryptor.singleton_class.prepend(DeviseMeteorAdapter)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_meteor-0.1.1 | lib/devise_meteor/strategies/encrypter.rb |