mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 20:20:36 +00:00
Add missing error message for org_access_denied (#4744)
This commit is contained in:
@@ -500,6 +500,7 @@
|
|||||||
"internal_error": "Internal error occurred",
|
"internal_error": "Internal error occurred",
|
||||||
"registration_closed": "The registration is closed",
|
"registration_closed": "The registration is closed",
|
||||||
"access_denied": "You are not allowed to access this instance",
|
"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",
|
"invalid_state": "The OAuth state is invalid",
|
||||||
"require_approval": {
|
"require_approval": {
|
||||||
"desc": "Prevent malicious pipelines from exposing secrets or running harmful tasks by approving them before execution.",
|
"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'),
|
registration_closed: i18n.t('registration_closed'),
|
||||||
access_denied: i18n.t('access_denied'),
|
access_denied: i18n.t('access_denied'),
|
||||||
invalid_state: i18n.t('invalid_state'),
|
invalid_state: i18n.t('invalid_state'),
|
||||||
|
org_access_denied: i18n.t('org_access_denied'),
|
||||||
};
|
};
|
||||||
|
|
||||||
const errorMessage = ref<string>();
|
const errorMessage = ref<string>();
|
||||||
|
Reference in New Issue
Block a user