Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset Password Does not work #1

Open
davidsteed opened this issue Oct 24, 2019 · 1 comment
Open

Reset Password Does not work #1

davidsteed opened this issue Oct 24, 2019 · 1 comment

Comments

@davidsteed
Copy link

When trying reset password I get this

Unhandled Rejection (TypeError): Cannot read property 'auth' of undefined
ForgotPasswordContainer._this.onSubmitNewPassword [as onSubmit]
src/components/ForgotPassword/ForgotPasswordContainer.js:27
24 |
25 | onSubmitNewPassword = ({ confirmationCode, newPassword }) => {
26 | const email = this.state.value;

27 | this.props.dispatch.auth.resetPassword({
28 | email,
29 | newPassword,
30 | confirmationCode
View compiled

@bstenm
Copy link
Owner

bstenm commented Oct 24, 2019

Thanks David, I haven't touched/used this repo for almost a year now, I think you just need to connect ForgotPasswordContainer to redux along those lines:
export default connect(
...
)(ForgotPasswordContainer);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants