Add missing error message for org_access_denied (#4744)

This commit is contained in:
Robert Kaussow
2025-01-19 14:03:23 +01:00
committed by GitHub
parent f50d6d19ec
commit f4a39dfae1
2 changed files with 2 additions and 0 deletions

View File

@@ -500,6 +500,7 @@
"internal_error": "Internal error occurred",
"registration_closed": "The registration is closed",
"access_denied": "You are not allowed to access this instance",
"org_access_denied": "You are not allowed to access this organization",
"invalid_state": "The OAuth state is invalid",
"require_approval": {
"desc": "Prevent malicious pipelines from exposing secrets or running harmful tasks by approving them before execution.",

View File

@@ -77,6 +77,7 @@ const authErrorMessages = {
registration_closed: i18n.t('registration_closed'),
access_denied: i18n.t('access_denied'),
invalid_state: i18n.t('invalid_state'),
org_access_denied: i18n.t('org_access_denied'),
};
const errorMessage = ref<string>();