Sha256: cbd0e9c37d4d7d57b9d0aca85d77d140dff1fc4aed94325a67761c5e3915413e

Contents?: true

Size: 630 Bytes

Versions: 3

Compression:

Stored size: 630 Bytes

Contents

Authenticate.configure do |config|
  # config.user_model = 'User'
  # config.cookie_name = 'authenticate_session_token'
  # config.cookie_expiration = { 1.month.from_now.utc }
  # config.cookie_domain = nil
  # config.cookie_path = '/'
  # config.secure_cookie = false # set to true in production https environments
  # config.http_only = false # set to true if you can
  config.timeout_in = 45.minutes
  config.max_session_lifetime = 5.minutes
  config.max_consecutive_bad_logins_allowed = 1
  config.bad_login_lockout_period = 2.minutes
  config.reset_password_within = 5.minutes
  # config.authentication_strategy = :email
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
authenticate-0.2.3 spec/dummy/config/initializers/authenticate.rb
authenticate-0.2.2 spec/dummy/config/initializers/authenticate.rb
authenticate-0.2.1 spec/dummy/config/initializers/authenticate.rb