mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix(Login Authentication): Optimized the prompt message for excessively long characters entered in the input box.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user