Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/actions/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,10 @@ export const resetPassword = (dispatch, firebase, email) => {
if (err) {
switch (err.code) {
case 'auth/user-not-found':
dispatchLoginError(
dispatch,
new Error('The specified user account does not exist.')
)
dispatchLoginError(dispatch, {
...err,
message: 'The specified user account does not exist.'
})
break
default:
dispatchLoginError(dispatch, err)
Expand Down