summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2022-01-07 22:02:09 +0100
committerGitHub <noreply@github.com>2022-01-07 21:02:09 +0000
commite30b20dc68566e1f7d5638831c3b8f8c8d241e2c (patch)
tree3142cdc1d5579ffd651a8cdf23e0f646c602144a /options
parent3dbdf36d952678aafd1dac1a9fccce51bdbb8fc0 (diff)
downloadgitea-e30b20dc68566e1f7d5638831c3b8f8c8d241e2c.tar.gz
gitea-e30b20dc68566e1f7d5638831c3b8f8c8d241e2c.zip
Show OAuth callback error message (#18185)
* Show callback error message. * lint * Use error code to display a message. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index eacd74e1a0..b739a90775 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -317,6 +317,9 @@ oauth_signup_submit = Complete Account
oauth_signin_tab = Link to Existing Account
oauth_signin_title = Sign In to Authorize Linked Account
oauth_signin_submit = Link Account
+oauth.signin.error = There was an error processing the authorization request. If this error persists, please contact the site administrator.
+oauth.signin.error.access_denied = The authorization request was denied.
+oauth.signin.error.temporarily_unavailable = Authorization failed because the authentication server is temporarily unavailable. Please try again later.
openid_connect_submit = Connect
openid_connect_title = Connect to an existing account
openid_connect_desc = The chosen OpenID URI is unknown. Associate it with a new account here.