Sha256: 09e0887b70940640e58416e1bfafd5fdca64608ad25e11a9154f2b340326c93a

Contents?: true

Size: 936 Bytes

Versions: 6

Compression:

Stored size: 936 Bytes

Contents

Authenticate.configure do |config|
  config.rotate_csrf_on_sign_in = true

  # 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.cookie_http_only = false # set to true if you can
  # config.mailer_sender = 'reply@example.com'
  # config.crypto_provider = Authenticate::Model::BCrypt
  # config.timeout_in = 45.minutes
  # config.max_session_lifetime = 8.hours
  # config.max_consecutive_bad_logins_allowed = 4
  # config.bad_login_lockout_period = 10.minutes
  # config.password_length = 8..128
  # config.authentication_strategy = :email
  # config.redirect_url = '/'
  # config.allow_sign_up = true
  # config.routes = true
  # config.reset_password_within = 2.days
  # config.modules = []
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
authenticate-0.7.3 lib/generators/authenticate/install/templates/authenticate.rb
authenticate-0.7.2 lib/generators/authenticate/install/templates/authenticate.rb
authenticate-0.7.1 lib/generators/authenticate/install/templates/authenticate.rb
authenticate-0.7.0 lib/generators/authenticate/install/templates/authenticate.rb
authenticate-0.6.1 lib/generators/authenticate/install/templates/authenticate.rb
authenticate-0.6.0 lib/generators/authenticate/install/templates/authenticate.rb