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

Not seeing any error messages on failed login #125

Open
jrtilson opened this issue Jul 26, 2017 · 0 comments
Open

Not seeing any error messages on failed login #125

jrtilson opened this issue Jul 26, 2017 · 0 comments

Comments

@jrtilson
Copy link
Contributor

jrtilson commented Jul 26, 2017

When attempting to login with a regular username/email and password, I'm not presented with any errors on the form if the user enters invalid credentials. I do however see the following in the browser console:

Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the LoginForm component.

I understand this a pretty common react issue, but I'm not sure why it's happening here. I managed to track it down to a this.showMessage call (which in turn calls this.setState) in a Meteor method callback, this one to be specific LoginForm.jsx

Any idea how to sort this out?

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

1 participant