mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-02 00:00:06 +00:00
feat: normalize mfa and api config fields (#12642)
This commit is contained in:
committed by
zhengkunwang223
parent
8fb8d97dcf
commit
8d44105f88
@@ -82,13 +82,13 @@ export namespace Login {
|
||||
export interface MFABind {
|
||||
secret: string;
|
||||
code: string;
|
||||
interval: string;
|
||||
interval: number;
|
||||
}
|
||||
export interface ApiConfig {
|
||||
apiInterfaceStatus: string;
|
||||
apiKey: string;
|
||||
ipWhiteList: string;
|
||||
apiKeyValidityTime: string;
|
||||
apiKeyValidityTime: number;
|
||||
}
|
||||
export interface PasswordUpdate {
|
||||
oldPassword: string;
|
||||
|
||||
Reference in New Issue
Block a user