mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-29 14:31:15 +08:00
19 lines
380 B
Go
19 lines
380 B
Go
package dto
|
|
|
|
type CaptchaResponse struct {
|
|
CaptchaID string `json:"captchaID"`
|
|
ImagePath string `json:"imagePath"`
|
|
}
|
|
|
|
type UserLoginInfo struct {
|
|
Name string `json:"name"`
|
|
Token string `json:"token"`
|
|
MfaStatus string `json:"mfaStatus"`
|
|
MfaSecret string `json:"mfaSecret"`
|
|
}
|
|
|
|
type MfaCredential struct {
|
|
Secret string `json:"secret"`
|
|
Code string `json:"code"`
|
|
}
|