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

TypeError: Cannot read property 'password' of null #6

Open
anton6 opened this issue May 11, 2016 · 0 comments
Open

TypeError: Cannot read property 'password' of null #6

anton6 opened this issue May 11, 2016 · 0 comments

Comments

@anton6
Copy link

anton6 commented May 11, 2016

I was getting the following error when both the username and password are wrong:

Debug: internal, implementation, error 
web_1            |     TypeError: Cannot read property 'password' of null
web_1            |     at Query.<anonymous> (/usr/src/app/src/routes/account/handlers.js:176

At closer inspection it seems that loginUser handler is missing return keywords when reply(Boom.unauthorized('Authentication failed')); is called.

@zhiwehu zhiwehu mentioned this issue Mar 22, 2017
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