Skip to content

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.

@raclim raclim added Area: Code Quality For refactoring, cleanup, or improvements to maintainability Area:Backend For server-side logic, APIs, or database functionality labels Feb 6, 2024
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Backend For server-side logic, APIs, or database functionality Area: Code Quality For refactoring, cleanup, or improvements to maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Evaluate redundant redirects between client and server
2 participants