Created
August 4, 2018 08:38
-
-
Save atanasovdejan/84b198b6a6a290e6e84049a1d7688f41 to your computer and use it in GitHub Desktop.
Verify Email with Firebase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func sendEmailVerification(_ callback: ((Error?) -> ())? = nil){ | |
Auth.auth().currentUser?.sendEmailVerification(completion: { (error) in | |
callback?(error) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment