(bug): Login redirects to newsfeed on mobile web
Summary
Logging in on mobile web using the popup modal, redirects the user to the newsfeed rather than the content they were viewing.
Steps to reproduce
- Either go on mobile, or just horizontally shrink your browser window on desktop to mobile size.
- Visit somewhere on the site. e.g. https://www.minds.com/minds/blog/power-to-the-people-the-minds-jury-system-975486713993859072
- Scroll down, await login popup
- Login
Platform information
Multi-platform, mobile web.
What is the current bug behavior?
User is redirected to the news feed.
What is the expected correct behavior?
The user should be returned to the content that they were viewing.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
/label ~"T - Bug" ~"S - Triage:new"
Edited by Ben