mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 19:07:15 +08:00
Handle google token expiration via password reset as first class auth-error
This commit is contained in:
parent
e0f2a98e8e
commit
d552da2582
1 changed files with 1 additions and 0 deletions
|
@ -312,6 +312,7 @@ export default class MailsyncBridge {
|
|||
const isAuthFailure =
|
||||
`${error}`.includes('Response Code: 401') || // mailspring services
|
||||
`${error}`.includes('Response Code: 403') || // mailspring services
|
||||
`${error}`.includes('invalid_grant') || // Google
|
||||
`${error}`.includes('ErrorAuthentication'); // mailcore
|
||||
|
||||
if (this._crashTracker.tooManyFailures(fullAccountJSON)) {
|
||||
|
|
Loading…
Reference in a new issue