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

Added the access route control restiction without login. #265

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

tarunkumar2005
Copy link
Contributor

Description

I have updated the orders, cart, wishlist and toast custom time and some minor changes so make it so that users are not able to access the orders, cart and wishlist routes without login and will redirect them to /login after the toast is shown to them.

Related Issues

Fixes: #257 [Bug]: Routes access when not logged in. #257

Changes

Fixed accessing the orders, cart and wishlist routes without login.

Testing Instructions

Detailed instructions on how to test the changes. Include any setup needed and specific test cases.

  1. Pull this branch.
  2. Run npm install to install dependencies.
  3. Run npm test to execute the test suite.
  4. Verify that ...

Screenshots (if applicable)

Add any screenshots that help explain or visualize the changes.

Checklist

Make sure to check off all the items before submitting. Mark with [x] if done.

  • [X ] I have performed a self-review of my code
  • [ X] I have commented my code, particularly in hard-to-understand areas
  • [ X] My changes generate no new warnings
  • [ X] I am working on this issue under GSSOC

Copy link

github-actions bot commented Oct 2, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@Trisha-tech Trisha-tech merged commit 45cd168 into Trisha-tech:master Oct 5, 2024
2 checks passed
@Trisha-tech Trisha-tech added bug Something isn't working level2 gssoc-ext labels Oct 5, 2024
@tarunkumar2005
Copy link
Contributor Author

@Trisha-tech Put the level as level 2 okay not level2 please consider this as important

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

Successfully merging this pull request may close these issues.

[Bug]: Routes access when not logged in.
2 participants