diff --git a/lib/data/auth.dart b/lib/data/auth.dart index eb67cbc..0096dca 100644 --- a/lib/data/auth.dart +++ b/lib/data/auth.dart @@ -29,9 +29,10 @@ Future checkSessionExist() async { if (res['statusCode'] == 200) { return true; + } else { + removeSession(); + return false; } - removeSession(); - return false; } return false;