[BUG] I can access /admin-blog page, even if I have not logged in
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
If i access directly via url https://wanderlust-beta.vercel.app/add-blog without logging in, I can easily view the page.
Expected Behavior
Ideally only if the user is authenticated he should be let to view the page, else we should show page of "Oops sorry you are not authorized for this page"
Reproduction steps
1. Don't login
2. Go to https://wanderlust-beta.vercel.app/add-blog
3. You'll be able to view the page
Screenshots
No response
Logs
No response
Browsers
No response
OS
No response
cc: @0xmohitsen
can i work on this sir please assign me @krishnaacharyaa
Hi @Ameerjafar Can you kindly let us know your approach and ETA? And kindly refer the above PR, it says this issue has dependency with #172 issue. So ideally we need to solve it and then get back to this
Hi there! I'm excited to contribute to this project and would love to work on this issue. Could you please assign it to me? Thanks!
kindly assign this task to me.I can help with this bug
@bikashsahh @thefarhanahmad Code-of-conduct
Closed as resolved