mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-13 02:57:11 +08:00
refactor: 优化密码策略处理
This commit is contained in:
@@ -276,21 +276,23 @@ export interface OptionQuery {
|
||||
}
|
||||
|
||||
/** 基础配置类型 */
|
||||
export interface BasicConfigResp {
|
||||
site_favicon: string
|
||||
site_logo: string
|
||||
site_title: string
|
||||
site_copyright: string
|
||||
export interface BasicConfig {
|
||||
SITE_FAVICON: string
|
||||
SITE_LOGO: string
|
||||
SITE_TITLE: string
|
||||
SITE_COPYRIGHT: string
|
||||
}
|
||||
|
||||
/** 安全配置类型 */
|
||||
export interface SecurityConfigResp {
|
||||
password_contain_name: OptionResp
|
||||
password_error_count: OptionResp
|
||||
password_lock_minutes: OptionResp
|
||||
password_min_length: OptionResp
|
||||
password_special_char: OptionResp
|
||||
password_update_interval: OptionResp
|
||||
export interface SecurityConfig {
|
||||
PASSWORD_ERROR_LOCK_COUNT: OptionResp
|
||||
PASSWORD_ERROR_LOCK_MINUTES: OptionResp
|
||||
PASSWORD_EXPIRATION_WARNING_DAYS: OptionResp
|
||||
PASSWORD_EXPIRATION_DAYS: OptionResp
|
||||
PASSWORD_REUSE_POLICY: OptionResp
|
||||
PASSWORD_MIN_LENGTH: OptionResp
|
||||
PASSWORD_ALLOW_CONTAIN_USERNAME: OptionResp
|
||||
PASSWORD_CONTAIN_SPECIAL_CHARACTERS: OptionResp
|
||||
}
|
||||
|
||||
/** 绑定三方账号信息 */
|
||||
|
Reference in New Issue
Block a user