We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
return
reply(Boom.unauthorized('Authentication failed'));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was getting the following error when both the username and password are wrong:
At closer inspection it seems that loginUser handler is missing
return
keywords whenreply(Boom.unauthorized('Authentication failed'));
is called.The text was updated successfully, but these errors were encountered: