Reputation: 35
How can you verify users that sign in with email and password with a verification email in firebase? How would the logic behind this work and how would it look in code?
Solution/Help: For those still looking for answers I found this Post StackOverFlow Post
Upvotes: 2
Views: 3782
Reputation: 1592
For Email verification
You can send an address verification, email to a user with the sendEmailVerificationWithCompletion:
method. As per Firebase document you can check from here.
Auth.auth().currentUser?.sendEmailVerification { (error) in
// ...
}
Upvotes: 8