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

Improve the unauthorize response #102

Closed
shibasarkar opened this issue Oct 29, 2024 · 5 comments
Closed

Improve the unauthorize response #102

shibasarkar opened this issue Oct 29, 2024 · 5 comments

Comments

@shibasarkar
Copy link
Contributor

Describe the bug
When I try to add a post without login it shows me a JSON response on the page

To Reproduce
Steps to reproduce the behavior:

  1. Go to any post button
  2. Click on
  3. See error

Screenshots
Screenshot 2024-10-29 142825

@shibasarkar
Copy link
Contributor Author

@jinx-vi-0 can you please assign it to me

@sudo-dpkg
Copy link
Owner

please explain the issue and your proposed solution.

@shibasarkar
Copy link
Contributor Author

When a user try to add a post without login
We need show some appropriate response page
Right now it's show's a json response with a message unauthorized

@shibasarkar
Copy link
Contributor Author

shibasarkar commented Oct 30, 2024

I want to a add response page when user add a post
Without login
Either it's redirect to the login page or it's show's something that says you need to login for making a post

Copy link

github-actions bot commented Nov 9, 2024

🎉 Congratulations @shibasarkar! Your issue has been successfully closed! Thanks for your contribution! If you enjoyed contributing, please consider giving us a ⭐ and following us for updates!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants