refactor: 提取默认登录使用的租户与账号密码, 规避潜在的账户泄露问题

This commit is contained in:
DevDengChao
2024-05-21 17:43:49 +08:00
parent be978f2e9f
commit d883b860ac
3 changed files with 11 additions and 3 deletions

3
types/env.d.ts vendored
View File

@ -14,6 +14,9 @@ interface ImportMetaEnv {
readonly VITE_DEV: string
readonly VITE_APP_CAPTCHA_ENABLE: string
readonly VITE_APP_TENANT_ENABLE: string
readonly VITE_APP_DEFAULT_LOGIN_TENANT: string
readonly VITE_APP_DEFAULT_LOGIN_USERNAME: string
readonly VITE_APP_DEFAULT_LOGIN_PASSWORD: string
readonly VITE_APP_DOCALERT_ENABLE: string
readonly VITE_BASE_URL: string
readonly VITE_UPLOAD_URL: string