fix(Login Authentication): Optimized the prompt message for excessively long characters entered in the input box.

This commit is contained in:
dataeaseShu
2025-12-03 13:46:29 +08:00
committed by dataeaseShu
parent e7ce1d0314
commit d1f6dfe782
2 changed files with 2 additions and 2 deletions
@@ -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()
}
@@ -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()
}