protonmail: update AuthInfo struct
This commit is contained in:
parent
fbf85fecaa
commit
fef10d24fd
|
@ -21,7 +21,12 @@ type authInfoReq struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type AuthInfo struct {
|
type AuthInfo struct {
|
||||||
TwoFactor int
|
TwoFactor int
|
||||||
|
TwoFactorInfo struct {
|
||||||
|
Enabled int
|
||||||
|
U2F interface{} // TODO
|
||||||
|
TOTP int
|
||||||
|
} `json:"2FA"`
|
||||||
version int
|
version int
|
||||||
modulus string
|
modulus string
|
||||||
serverEphemeral string
|
serverEphemeral string
|
||||||
|
|
Loading…
Reference in New Issue