From eb13b5cbaa599960e31b5d868fd15444c04c4368 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 3 Dec 2025 13:45:59 +0800 Subject: [PATCH] fix(Login Authentication): Optimized the prompt message for excessively long characters entered in the input box. --- frontend/src/views/system/authentication/Oauth2Editor.vue | 2 +- frontend/src/views/system/authentication/OidcEditor.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/system/authentication/Oauth2Editor.vue b/frontend/src/views/system/authentication/Oauth2Editor.vue index 5ba0a507..f0575067 100644 --- a/frontend/src/views/system/authentication/Oauth2Editor.vue +++ b/frontend/src/views/system/authentication/Oauth2Editor.vue @@ -100,7 +100,7 @@ const validateMapping = (rule, value, callback) => { JSON.parse(value) } catch (e) { console.error(e) - callback(new Error(t('system.in_json_format'))) + callback(new Error(t('authentication.in_json_format'))) } callback() } diff --git a/frontend/src/views/system/authentication/OidcEditor.vue b/frontend/src/views/system/authentication/OidcEditor.vue index 36e2e471..bda0b504 100644 --- a/frontend/src/views/system/authentication/OidcEditor.vue +++ b/frontend/src/views/system/authentication/OidcEditor.vue @@ -43,7 +43,7 @@ const validateMapping = (rule, value, callback) => { JSON.parse(value) } catch (e: any) { console.error(e) - callback(new Error(t('system.in_json_format'))) + callback(new Error(t('authentication.in_json_format'))) } callback() }