ResForgot password with Firebase

Hello,

I settled up the reset password system if customers forgot their passwords. So it worked. But i want to add also professinnional alert. If they fill wrongly maili not include in firebase data, “alert should be there is no e mail adress in database.” I tried but whenever i tried reset password system did not worked.

Now is working but alert is missing you can see my block in below.

Maybe you can try something like this. Use an if - then - statement … If mail.text is not in database then show alert else call firebase auth send reset password email