Fix to logout when token expires
This commit is contained in:
parent
4bbeb284da
commit
48eec0dc88
|
@ -105,6 +105,7 @@ class Auth : Client() {
|
||||||
token.status = 1
|
token.status = 1
|
||||||
} else {
|
} else {
|
||||||
Log.d("Status", con.responseMessage)
|
Log.d("Status", con.responseMessage)
|
||||||
|
token.status = 0
|
||||||
}
|
}
|
||||||
} catch (err: Exception) {
|
} catch (err: Exception) {
|
||||||
err.printStackTrace()
|
err.printStackTrace()
|
||||||
|
|
Loading…
Reference in New Issue