🐞 Enhancement Feature
Title: "Add Post Login redirection support for protected routes "
🐞 Description
When a non logedIn user clicks on a discussion topic in Discussion Forum page (https://edulume.site/discussions?category=academic) then user is redirected to login page and after login/signup is completed then user is redirected to home page in place of the Discussion Form page.
✅ Feature Explaation
Add support to use a memoryfull url for protected routes such as /login?redirect=/discussions. So when user are redirect to login page then after the login in compleate they are re directed to page where they were before and not to home page
🧩 Steps to Reproduce
Steps to reproduce the issue:
- Go to https://edulume.site/discussions
- Make sure you are not loged in
- Try to open any discussion thread
- You will be redirected to login page and after login in compleate you will be back to home page
🐞 Enhancement Feature
Title: "Add Post Login redirection support for protected routes "
🐞 Description
When a non logedIn user clicks on a discussion topic in Discussion Forum page (https://edulume.site/discussions?category=academic) then user is redirected to login page and after login/signup is completed then user is redirected to home page in place of the Discussion Form page.
✅ Feature Explaation
Add support to use a memoryfull url for protected routes such as /login?redirect=/discussions. So when user are redirect to login page then after the login in compleate they are re directed to page where they were before and not to home page
🧩 Steps to Reproduce
Steps to reproduce the issue: