Auto logout if session invalid

This commit is contained in:
Moe Poi ~ 2022-05-16 11:45:11 +07:00
parent b858751146
commit 0e27f5f2af

View file

@ -30,6 +30,7 @@ Future<bool> checkSessionExist() async {
if (res['statusCode'] == 200) {
return true;
}
removeSession();
return false;
}