mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
feat: add captcha (#2613)
* feat: captcha * add borderRadius * code perf
This commit is contained in:
@@ -2,12 +2,14 @@ export enum UserAuthTypeEnum {
|
||||
register = 'register',
|
||||
findPassword = 'findPassword',
|
||||
wxLogin = 'wxLogin',
|
||||
bindNotification = 'bindNotification'
|
||||
bindNotification = 'bindNotification',
|
||||
captcha = 'captcha'
|
||||
}
|
||||
|
||||
export const userAuthTypeMap = {
|
||||
[UserAuthTypeEnum.register]: 'register',
|
||||
[UserAuthTypeEnum.findPassword]: 'findPassword',
|
||||
[UserAuthTypeEnum.wxLogin]: 'wxLogin',
|
||||
[UserAuthTypeEnum.bindNotification]: 'bindNotification'
|
||||
[UserAuthTypeEnum.bindNotification]: 'bindNotification',
|
||||
[UserAuthTypeEnum.captcha]: 'captcha'
|
||||
};
|
||||
|
@@ -647,8 +647,7 @@
|
||||
"success": "Start syncing"
|
||||
}
|
||||
},
|
||||
"training": {
|
||||
}
|
||||
"training": {}
|
||||
},
|
||||
"data": {
|
||||
"Auxiliary Data": "Auxiliary data",
|
||||
@@ -1257,6 +1256,7 @@
|
||||
"auth": {
|
||||
"Sending Code": "Sending"
|
||||
},
|
||||
"captcha_placeholder": "Please enter the verification code",
|
||||
"inform": {
|
||||
"System message": "System message"
|
||||
},
|
||||
|
@@ -647,8 +647,7 @@
|
||||
"success": "开始同步"
|
||||
}
|
||||
},
|
||||
"training": {
|
||||
}
|
||||
"training": {}
|
||||
},
|
||||
"data": {
|
||||
"Auxiliary Data": "辅助数据",
|
||||
@@ -1248,6 +1247,7 @@
|
||||
},
|
||||
"user": {
|
||||
"Avatar": "头像",
|
||||
"captcha_placeholder": "请输入验证码",
|
||||
"Go laf env": "点击前往 {{env}} 获取 PAT 凭证。",
|
||||
"Laf account course": "查看绑定 laf 账号教程。",
|
||||
"Laf account intro": "绑定你的 laf 账号后,你将可以在工作流中使用 laf 模块,实现在线编写代码。",
|
||||
|
Reference in New Issue
Block a user