Skip to content

Commit

Permalink
Switch ProtonMail API endpoints to legacy
Browse files Browse the repository at this point in the history
Update protonmail api and app version to fix `[9001] Login temporarily not permitted` errors.

Closes: #181
  • Loading branch information
harleylang authored Jul 22, 2021
1 parent cfc03ba commit c6c1d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/hydroxide/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down

0 comments on commit c6c1d6c

Please sign in to comment.