diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-08-27 11:29:03 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-08-27 11:29:03 +0200 |
commit | 463d23dfd5bdad1941807a8caf988f95a97050fd (patch) | |
tree | 180fda300a6d5782329e5e505e57fff6fd3de202 /app/controllers/settings | |
parent | 70909c5b094523b0cf77123a2566310b2f148e24 (diff) | |
parent | 7283a5d3b94b655172744996ffa43ec80aff0e08 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers/settings')
-rw-r--r-- | app/controllers/settings/two_factor_authentication/webauthn_credentials_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/settings/two_factor_authentication/webauthn_credentials_controller.rb b/app/controllers/settings/two_factor_authentication/webauthn_credentials_controller.rb index bd6f83134..7e2d43dcd 100644 --- a/app/controllers/settings/two_factor_authentication/webauthn_credentials_controller.rb +++ b/app/controllers/settings/two_factor_authentication/webauthn_credentials_controller.rb @@ -21,7 +21,8 @@ module Settings display_name: current_user.account.username, id: current_user.webauthn_id, }, - exclude: current_user.webauthn_credentials.pluck(:external_id) + exclude: current_user.webauthn_credentials.pluck(:external_id), + authenticator_selection: { user_verification: 'discouraged' } ) session[:webauthn_challenge] = options_for_create.challenge |