Optimize register. Add turnstile captcha to login.

This commit is contained in:
2023-12-29 17:33:37 +08:00
parent 0b8df09336
commit 837ea40bf1
9 changed files with 56 additions and 22 deletions

2
src/global.d.ts vendored
View File

@@ -4,6 +4,7 @@
interface ImportMetaEnv {
readonly VITE_API_URL: string
readonly VITE_API_TOKEN_URL: string
readonly VITE_TURNSTILE_SITE_KEY: string
}
interface ImportMeta {
@@ -81,6 +82,7 @@ interface RetrieveParam {
interface LoginParam {
account: string
password: string
captchaCode: string
}
interface UserWithPowerInfoVo {