Add default settings

pull/6827/head
Oliver Günther 7 years ago
parent b6e7009f31
commit ef235c8711
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 6
      lib/open_project/two_factor_authentication/engine.rb

@ -10,8 +10,12 @@ module OpenProject::TwoFactorAuthentication
author_url: 'http://openproject.com',
settings: {
default: {
# Only app-based 2FA allowed per default
active_strategies: [:totp],
# Don't force users to register device
enforced: false,
active_strategies: []
# Don't allow remember cookie
allow_remember_for_days: 0
}
},
requires_openproject: '>= 4.0.0' do

Loading…
Cancel
Save