Fix check auth bug
This commit is contained in:
parent
0d4039cf9f
commit
b661d9cfd2
1 changed files with 3 additions and 2 deletions
|
@ -29,10 +29,11 @@ Future<bool> checkSessionExist() async {
|
|||
|
||||
if (res['statusCode'] == 200) {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
removeSession();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue