aboutsummaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-09-10 17:37:57 +0100
committerGitHub <noreply@github.com>2021-09-10 18:37:57 +0200
commit9ca0e7905c24f18ed246e65397589f0f41b50506 (patch)
tree5c0c03dc297f47e7f60711563efbaf87993463a6 /options
parent51578d64188a7077848cb60d3ead8e818637ab59 (diff)
downloadgitea-9ca0e7905c24f18ed246e65397589f0f41b50506.tar.gz
gitea-9ca0e7905c24f18ed246e65397589f0f41b50506.zip
Add setting to OAuth handlers to skip local 2FA authentication (#16594)
This PR adds a setting to OAuth and OpenID login sources to allow the source to skip local 2FA authentication. Fix #13939 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 17701094d7..9ebd2e7a5f 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -2456,6 +2456,8 @@ auths.oauth2_tokenURL = Token URL
auths.oauth2_authURL = Authorize URL
auths.oauth2_profileURL = Profile URL
auths.oauth2_emailURL = Email URL
+auths.skip_local_two_fa = Skip local 2FA
+auths.skip_local_two_fa_helper = Leaving unset means local users with 2FA set will still have to pass 2FA to log on
auths.oauth2_tenant = Tenant
auths.enable_auto_register = Enable Auto Registration
auths.sspi_auto_create_users = Automatically create users