Sha256: 560078815b70fc3f95fab0b4b3a5f5cb137f983a90119f1511a05cf70f1d3ee8
Contents?: true
Size: 221 Bytes
Versions: 3
Compression:
Stored size: 221 Bytes
Contents
class ShaWithSaltCredential include Mongoid::Document include Mongoid::Encryptor field :email field :password validates_presence_of :email, :password encrypts :password, :mode => :sha, :salt => 'admin' end
Version data entries
3 entries across 3 versions & 1 rubygems