mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 访问授权码输入错误 3 次后加入验证码 https://github.com/siyuan-note/siyuan/issues/5429
This commit is contained in:
parent
492d6be3e3
commit
e675bc260d
6 changed files with 12 additions and 12 deletions
|
@ -776,8 +776,8 @@
|
|||
"18": "Get community user account failed",
|
||||
"19": "User information has expired, please log in again",
|
||||
"20": "Cannot be converted to heading when including sub-documents",
|
||||
"21": "TODO",
|
||||
"22": "TODO",
|
||||
"21": "Please enter the captcha",
|
||||
"22": "The captcha is incorrect",
|
||||
"23": "TODO",
|
||||
"24": "TODO",
|
||||
"25": "The attribute name only supports English letters and digits",
|
||||
|
|
|
@ -776,8 +776,8 @@
|
|||
"18": "Falló la obtención de la cuenta de usuario de la comunidad",
|
||||
"19": "La información del usuario ha caducado, por favor, inicie sesión de nuevo",
|
||||
"20": "No se puede convertir en título al incluir subdocumentos",
|
||||
"21": "TODO",
|
||||
"22": "TODO",
|
||||
"21": "Por favor ingrese el captcha",
|
||||
"22": "El captcha es incorrecto",
|
||||
"23": "TODO",
|
||||
"24": "TODO",
|
||||
"25": "El nombre del atributo sólo admite letras y dígitos en inglés",
|
||||
|
|
|
@ -776,8 +776,8 @@
|
|||
"18": "Échec de la récupération du compte utilisateur communautaire",
|
||||
"19": "Les informations de l'utilisateur ont expiré, veuillez vous connecter à nouveau.",
|
||||
"20": "Ne peut pas être converti en titre lorsque des sous-documents sont inclus.",
|
||||
"21": "TODO",
|
||||
"22": "TODO",
|
||||
"21": "Veuillez entrer le captcha",
|
||||
"22": "Le captcha est incorrect",
|
||||
"23": "TODO",
|
||||
"24": "TODO",
|
||||
"25": "Le nom de l'attribut ne supporte que les lettres et les chiffres anglais.",
|
||||
|
|
|
@ -776,8 +776,8 @@
|
|||
"18": "獲取社區用戶帳號失敗",
|
||||
"19": "使用者資訊已過期,請重新登入帳號",
|
||||
"20": "包含子文檔時無法轉換為標題",
|
||||
"21": "TODO",
|
||||
"22": "TODO",
|
||||
"21": "請輸入驗證碼",
|
||||
"22": "驗證碼不正確",
|
||||
"23": "TODO",
|
||||
"24": "TODO",
|
||||
"25": "屬性名僅支援英文字母和阿拉伯數字",
|
||||
|
|
|
@ -777,8 +777,8 @@
|
|||
"18": "获取社区用户账号失败",
|
||||
"19": "用户信息已过期,请重新登录账号",
|
||||
"20": "包含子文档时无法转换为标题",
|
||||
"21": "TODO",
|
||||
"22": "TODO",
|
||||
"21": "请输入验证码",
|
||||
"22": "验证码不正确",
|
||||
"23": "TODO",
|
||||
"24": "TODO",
|
||||
"25": "属性名仅支持英文字母和阿拉伯数字",
|
||||
|
|
|
@ -66,14 +66,14 @@ func LoginAuth(c *gin.Context) {
|
|||
captchaArg := arg["captcha"]
|
||||
if nil == captchaArg {
|
||||
ret.Code = 1
|
||||
ret.Msg = "need input captcha"
|
||||
ret.Msg = Conf.Language(21)
|
||||
return
|
||||
}
|
||||
inputCaptcha = captchaArg.(string)
|
||||
|
||||
if session.Captcha != inputCaptcha {
|
||||
ret.Code = 1
|
||||
ret.Msg = "invalid captcha"
|
||||
ret.Msg = Conf.Language(22)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue