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

[BUG] I can access /admin-blog page, even if I have not logged in #173

Closed
1 task done
krishnaacharyaa opened this issue May 5, 2024 · 7 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@krishnaacharyaa
Copy link
Owner

Is there an existing issue for this?

  • 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

@krishnaacharyaa krishnaacharyaa added the bug Something isn't working label May 5, 2024
@krishnaacharyaa
Copy link
Owner Author

cc: @0xmohitsen

0xmohitsen added a commit to 0xmohitsen/wanderlust that referenced this issue May 5, 2024
@Ameerjafar
Copy link
Contributor

can i work on this sir please assign me @krishnaacharyaa

@krishnaacharyaa
Copy link
Owner Author

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

@thefarhanahmad
Copy link

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!

@bikashsahh
Copy link

kindly assign this task to me.I can help with this bug

@krishnaacharyaa
Copy link
Owner Author

@krishnaacharyaa
Copy link
Owner Author

Closed as resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants