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:
parent
cfc03baf21
commit
c6c1d6ca19
|
@ -35,8 +35,8 @@ var debug bool
|
||||||
|
|
||||||
func newClient() *protonmail.Client {
|
func newClient() *protonmail.Client {
|
||||||
return &protonmail.Client{
|
return &protonmail.Client{
|
||||||
RootURL: "https://mail.protonmail.com/api",
|
RootURL: "https://old.protonmail.com/api",
|
||||||
AppVersion: "Web_3.16.6",
|
AppVersion: "Web_3.16.65",
|
||||||
Debug: debug,
|
Debug: debug,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue