Created
August 4, 2018 10:41
-
-
Save atanasovdejan/513eb84a4319b01fd5fef3e907c098f4 to your computer and use it in GitHub Desktop.
Reset Password for Firebase User
This file contains hidden or 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 sendPasswordReset(withEmail email: String, _ callback: ((Error?) -> ())? = nil){ | |
| Auth.auth().sendPasswordReset(withEmail: email) { error in | |
| callback?(error) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment