how to create a reset password button in firebase code example
Example: firebase reset password javascript
To implement a forgot password button, you have to call: firebase.auth().sendPasswordResetEmail('[email protected]')
Check the documentation for more details: https://firebase.google.com/docs/reference/js/firebase.auth.Auth#sendPasswordResetEmail