From c6c1d6ca198878204f0ae12c4b83357bf99aa799 Mon Sep 17 00:00:00 2001 From: Harley Lang Date: Wed, 21 Jul 2021 23:26:40 -0700 Subject: [PATCH] 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 --- cmd/hydroxide/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/hydroxide/main.go b/cmd/hydroxide/main.go index 0c49681..9b7aa17 100644 --- a/cmd/hydroxide/main.go +++ b/cmd/hydroxide/main.go @@ -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, } }