Skip to content

Instantly share code, notes, and snippets.

@atanasovdejan
Created August 4, 2018 10:41
Show Gist options
  • Select an option

  • Save atanasovdejan/513eb84a4319b01fd5fef3e907c098f4 to your computer and use it in GitHub Desktop.

Select an option

Save atanasovdejan/513eb84a4319b01fd5fef3e907c098f4 to your computer and use it in GitHub Desktop.
Reset Password for Firebase User
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