Commit 14fa94f2 authored by Tohap Maruli Pasaribu's avatar Tohap Maruli Pasaribu
parents aafdfbf9 8a8832bf
......@@ -88,6 +88,9 @@ class FirebaseAuthMethods {
// restrict access to certain things using provider
// transition to another page instead of home screen
}
else if(user.emailVerified){
Navigator.pushNamed(context, '/dashboard');
}
} on FirebaseAuthException catch (e) {
showSnackBar(context, e.message!); // Displaying the error message
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment