Switch ProtonMail API endpoints to legacy

Update protonmail api and app version to fix `[9001] Login temporarily not permitted` errors.

Closes: https://github.com/emersion/hydroxide/issues/181
This commit is contained in:
Harley Lang 2021-07-21 23:26:40 -07:00 committed by GitHub
parent cfc03baf21
commit c6c1d6ca19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ var debug bool
func newClient() *protonmail.Client {
return &protonmail.Client{
RootURL: "https://mail.protonmail.com/api",
AppVersion: "Web_3.16.6",
RootURL: "https://old.protonmail.com/api",
AppVersion: "Web_3.16.65",
Debug: debug,
}
}