Optimize register. Add turnstile captcha to login.
This commit is contained in:
2
src/global.d.ts
vendored
2
src/global.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user