Sha256: 1428ac20366861a840989536471e913055ff9366b1b717a4ce7734e057871789
Contents?: true
Size: 632 Bytes
Versions: 1
Compression:
Stored size: 632 Bytes
Contents
Janus.config do |config| config.contact_email = "contact@some-example-domain.com" # DatabaseAuthenticatable config.authentication_keys = [ :email ] # you may use bcrypt: config.encryptor = :bcrypt config.stretches = 10 config.pepper = <%= SecureRandom.hex(64).inspect %> # or you prefer scrypt: # config.encryptor = :scrypt # config.scrypt_options = { :max_time => 0.25 } # Confirmable # config.confirmation_key = :confirm_token # Rememberable # config.remember_for = 1.year # config.extend_remember_period = false # RemoteAuthenticatable # config.remote_authentication_key = :auth_token end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
janus-0.7.0 | lib/generators/templates/janus.rb |