Skip to content

Commit d1f6dfe

Browse files
committed
fix(Login Authentication): Optimized the prompt message for excessively long characters entered in the input box.
1 parent e7ce1d0 commit d1f6dfe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/views/system/authentication/Oauth2Editor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const validateMapping = (rule, value, callback) => {
100100
JSON.parse(value)
101101
} catch (e) {
102102
console.error(e)
103-
callback(new Error(t('system.in_json_format')))
103+
callback(new Error(t('authentication.in_json_format')))
104104
}
105105
callback()
106106
}

frontend/src/views/system/authentication/OidcEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const validateMapping = (rule, value, callback) => {
4343
JSON.parse(value)
4444
} catch (e: any) {
4545
console.error(e)
46-
callback(new Error(t('system.in_json_format')))
46+
callback(new Error(t('authentication.in_json_format')))
4747
}
4848
callback()
4949
}

0 commit comments

Comments
 (0)