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
hi amazing project , helped me a lot and works easily I got response 401 wrong email or password it was because syntax mistake at line 30 of server.js
// Check if the user exists in database function isAuthenticated({ email, password }) { ------>>>> // return userdb.users.findIndex(user => user.email === email && user.password === password) !== -1 <<<<------- return userdb.users.findIndex(user => (user.email === email && user.password === password) !== -1) }
just brackets
The text was updated successfully, but these errors were encountered:
Yes, work now for new users.
Sorry, something went wrong.
Thank you AhmadShallal, it helped save a lot of time for the beginners. I hope the git owner will make the updates
No branches or pull requests
hi
amazing project , helped me a lot and works easily
I got response 401 wrong email or password
it was because syntax mistake at line 30 of server.js
// Check if the user exists in database
function isAuthenticated({ email, password }) {
------>>>> // return userdb.users.findIndex(user => user.email === email && user.password === password) !== -1 <<<<-------
return userdb.users.findIndex(user => (user.email === email && user.password === password) !== -1)
}
just brackets
The text was updated successfully, but these errors were encountered: