diff --git a/frontend/src/views/system/authentication/Oauth2Editor.vue b/frontend/src/views/system/authentication/Oauth2Editor.vue index a09145cb..f36a7d82 100644 --- a/frontend/src/views/system/authentication/Oauth2Editor.vue +++ b/frontend/src/views/system/authentication/Oauth2Editor.vue @@ -76,7 +76,7 @@ const form_config_list = ref([ const validateUrl = (rule, value, callback) => { const reg = new RegExp(/(http|https):\/\/([\w.]+\/?)\S*/) if (!reg.test(value)) { - callback(new Error(t('system.incorrect_please_re_enter_de'))) + callback(new Error(t('authentication.incorrect_please_re_enter'))) } else { callback() } diff --git a/frontend/src/views/system/authentication/OidcEditor.vue b/frontend/src/views/system/authentication/OidcEditor.vue index 27486834..fcaf6e17 100644 --- a/frontend/src/views/system/authentication/OidcEditor.vue +++ b/frontend/src/views/system/authentication/OidcEditor.vue @@ -28,7 +28,7 @@ const state = reactive({ const validateUrl = (rule, value, callback) => { const reg = new RegExp(/(http|https):\/\/([\w.]+\/?)\S*/) if (!reg.test(value)) { - callback(new Error(t('system.incorrect_please_re_enter'))) + callback(new Error(t('authentication.incorrect_please_re_enter'))) } else { callback() }