Skip to content

Removed redundant redirects between client and server #2993

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

Conversation

Mubashirshariq
Copy link
Contributor

Fixes #2992

Changes:
Server Side:
Made changes on the server: Redirected "/sketches" and "/assets" to URLs with the username. Also, redirected "/reset-password" and "/reset-password/:reset_password_token" to "/account" if the user is logged in.
client :
Made changes on the client: Removed all Higher-Order Component (HOC) auth checks from routes.jsx, deleted createRedirectWithUsername component, and removed auth.js file.

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123

@Mubashirshariq
Copy link
Contributor Author

@lindapaiste plz review this PR ,i have made the proposed changes.

@Mubashirshariq
Copy link
Contributor Author

@raclim could you please reveiw this PR since it has been open for a very long time

@raclim
Copy link
Collaborator

raclim commented Jun 14, 2024

@Mubashirshariq Sure, I'm sorry that it took some time! Would you be able to resolve some of the merge conflicts here first?

@Mubashirshariq
Copy link
Contributor Author

@raclim sure will do that

@Mubashirshariq
Copy link
Contributor Author

@raclim done with resolving conflicts

Copy link
Collaborator

@raclim raclim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work on this!

@raclim raclim merged commit 982fcfc into processing:develop Jun 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Evaluate redundant redirects between client and server
2 participants