mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 11:46:32 +00:00
Don't display "Missing auth headers" dialog during force logout
This commit is contained in:
parent
1411d49107
commit
5eaea9054d
1 changed files with 4 additions and 0 deletions
|
|
@ -303,6 +303,10 @@ class ApiClientImpl(
|
|||
return
|
||||
}
|
||||
|
||||
if (res.displayMessage.isNotEmpty() && res.displayMessage.contains("Missing authentication headers", ignoreCase = true)) {
|
||||
return
|
||||
}
|
||||
|
||||
if (status in 400..499) {
|
||||
if (res.displayMessage.isNotEmpty()) {
|
||||
showConnectionProblemDialog("", res.displayMessage, isUserInputCall)
|
||||
|
|
|
|||
Loading…
Reference in a new issue