Sha256: 5c5adbe868c871b9464273c0adc6484f0a61c58128468d44c46dc05f0fed0305

Contents?: true

Size: 909 Bytes

Versions: 2

Compression:

Stored size: 909 Bytes

Contents

require 'active_support/core_ext'

QuoVadis.configure do
  password_minimum_length               12
  mask_ips                              false
  cookie_name                           (Rails.env.production? ? '__Host-qv' : 'qv')
  session_lifetime                      :session
  session_lifetime_extend_to_end_of_day false
  session_idle_timeout                  :lifetime
  password_reset_token_lifetime         10.minutes
  accounts_require_confirmation         false
  account_confirmation_token_lifetime   10.minutes
  mailer_superclass                     'ApplicationMailer'
  mail_headers                          ({ from: 'Example App <support@example.com>' })
  enqueue_transactional_emails          true
  app_name                              Rails.app_class.to_s.deconstantize  # for the TOTP QR code
  two_factor_authentication_mandatory   true
  mount_point                           '/'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
quo_vadis-2.1.11 lib/quo_vadis/defaults.rb
quo_vadis-2.1.10 lib/quo_vadis/defaults.rb