Skip to content

fix issue of redirecting to profile after login#1473

Merged
tejassonar merged 2 commits into
developfrom
Fix/redirect_after_login
Apr 25, 2022
Merged

fix issue of redirecting to profile after login#1473
tejassonar merged 2 commits into
developfrom
Fix/redirect_after_login

Conversation

@sunilsabatp
Copy link
Copy Markdown
Contributor

#issue
Given a user has an account, when they use a link to access a page that requires authentication via log in, then they are redirected to that page after providing their credentials and not to /profile

#Fix
1.fixed the issue by setting redirecting link to localstorage in userLayout

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 19, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
planet-webapp ✅ Ready (Inspect) Visit Preview Apr 20, 2022 at 4:31PM (UTC)

@tejassonar
Copy link
Copy Markdown
Contributor

image

If the route doesn't exist, you can remove it.

Copy link
Copy Markdown
Collaborator

@norbertschuler norbertschuler left a comment

Choose a reason for hiding this comment

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

LGFM

@tejassonar tejassonar merged commit 3749f3b into develop Apr 25, 2022
@tejassonar tejassonar deleted the Fix/redirect_after_login branch April 25, 2022 08:14
@mariahosfeld mariahosfeld linked an issue May 31, 2022 that may be closed by this pull request
@mariahosfeld mariahosfeld mentioned this pull request May 31, 2022
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.

Fix redirect after login for logged in pages

3 participants