mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
Revert "Simplifies authentication failure check"
This reverts commit df444b4347.
This commit is contained in:
parent
df444b4347
commit
f544f89c3a
1 changed files with 1 additions and 0 deletions
|
|
@ -177,6 +177,7 @@ class ApiClientImpl(
|
|||
|| errField.equals("invalidCredentials", ignoreCase = true)
|
||||
|| msgField.contains("invalidCredentials", ignoreCase = true)
|
||||
|| msgField.contains("Missing authentication headers", ignoreCase = true)
|
||||
|| msgField.contains("There is no account that uses those credentials", ignoreCase = true)
|
||||
|
||||
if (shouldLogout) {
|
||||
HabiticaBaseApplication.logout(context)
|
||||
|
|
|
|||
Loading…
Reference in a new issue