mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-14 00:12:42 +00:00
Add missing error message for org_access_denied (#4744)
This commit is contained in:
parent
f50d6d19ec
commit
f4a39dfae1
2 changed files with 2 additions and 0 deletions
|
@ -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.",
|
||||
|
|
|
@ -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>();
|
||||
|
|
Loading…
Reference in a new issue