add delay before check

This commit is contained in:
2024-10-23 14:45:33 +02:00
parent 4467da83b9
commit 27b484ea6d

View File

@@ -15,6 +15,8 @@ class _AuthCheckState extends State<AuthCheck> {
late Future<bool> signedIn;
Future<bool> doesSessionExist() async {
//wait
await Future.delayed(const Duration(seconds: 1));
return await SuperTokens.doesSessionExist();
}