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
Only post/:id seems to be protected with authentication.
It is possible to use postman or thunder client to make requests to the /post endpoints without being logged in.
perhaps moving the ensureAuth to server.js as middleware before all post routes would fix it.
app.use("/", mainRoutes); app.use("/post", ensureAuth, postRoutes);
maybe this is covered in the classes and I missed something though.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Only post/:id seems to be protected with authentication.
It is possible to use postman or thunder client to make requests to the /post endpoints without being logged in.
perhaps moving the ensureAuth to server.js as middleware before all post routes would fix it.
maybe this is covered in the classes and I missed something though.
The text was updated successfully, but these errors were encountered: