Sha256: 05bd9c9f3c34db4626a18224e4321892881aa2d2bff549acf685b3251b972263

Contents?: true

Size: 849 Bytes

Versions: 10

Compression:

Stored size: 849 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
  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

10 entries across 10 versions & 1 rubygems

Version Path
quo_vadis-2.1.9 lib/quo_vadis/defaults.rb
quo_vadis-2.1.8 lib/quo_vadis/defaults.rb
quo_vadis-2.1.7 lib/quo_vadis/defaults.rb
quo_vadis-2.1.6 lib/quo_vadis/defaults.rb
quo_vadis-2.1.5 lib/quo_vadis/defaults.rb
quo_vadis-2.1.4 lib/quo_vadis/defaults.rb
quo_vadis-2.1.3 lib/quo_vadis/defaults.rb
quo_vadis-2.1.2 lib/quo_vadis/defaults.rb
quo_vadis-2.1.1 lib/quo_vadis/defaults.rb
quo_vadis-2.1.0 lib/quo_vadis/defaults.rb