prescottprue / react-redux-firebase

Redux bindings for Firebase. Includes React Hooks and Higher Order Components.
https://react-redux-firebase.com
MIT License
2.55k stars 559 forks source link

feat(auth): add updatePassword method #1011

Open brightsider opened 3 years ago

brightsider commented 3 years ago

Please add updatePassword method

prescottprue commented 3 years ago

You should be able to access through firebase.auth().currentUser.updatePassword directly. There are no needed state updates that I am aware of after updating the user's password - are you needing an action dispatch or state update for something?

brightsider commented 3 years ago

I'm using a firebase error to display errors. If the update password returns an error, then I should to use a custom error handle