protonmail: update AuthInfo struct

This commit is contained in:
Simon Ser 2019-08-14 22:33:31 +03:00
parent fbf85fecaa
commit fef10d24fd
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 6 additions and 1 deletions

View File

@ -22,6 +22,11 @@ type authInfoReq struct {
type AuthInfo struct {
TwoFactor int
TwoFactorInfo struct {
Enabled int
U2F interface{} // TODO
TOTP int
} `json:"2FA"`
version int
modulus string
serverEphemeral string