We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
time_tracker_flutter_course/lib/services/auth.dart
Line 61 in e1c8582
@bizz84 i am enjoing your tutorial but i want to use email verification , if user register with email
@override Future<User> signInWithEmailAndPassword(String email, String password) async { final authResult = await _firebaseAuth.signInWithEmailAndPassword( email: email, password: password); print('aaa'); if (authResult.user.isEmailVerified) { return _userFromFirebase(authResult.user); } else { return _userFromFirebase(null); } } @override Future<User> createUserWithEmailAndPassword( String email, String password) async { final authResult = await _firebaseAuth.createUserWithEmailAndPassword( email: email, password: password); await authResult.user.sendEmailVerification(); return _userFromFirebase(authResult.user); }
but, with that code, although isEmailVerified = is false and return return _userFromFirebase(null); but still go to home page
ty before
The text was updated successfully, but these errors were encountered:
This will help @budisentosa https://medium.com/@levimatheri/flutter-email-verification-and-password-reset-db2eed893d1d
Sorry, something went wrong.
No branches or pull requests
time_tracker_flutter_course/lib/services/auth.dart
Line 61 in e1c8582
@bizz84
i am enjoing your tutorial
but i want to use email verification , if user register with email
but, with that code, although isEmailVerified = is false
and return return _userFromFirebase(null);
but still go to home page
ty before
The text was updated successfully, but these errors were encountered: