Support "return url" when not logged in
Closed this issue · 1 comments
jlsjonas commented
This is a feature request.
Prerequisites
- Are you running the latest version?
- Are you reporting to the correct repository?
- Did you check the documentation?
- Did you perform a cursory search?
Description
When following a (browser) bookmark, clicking a link that's sent to you, having an actionable notification, ...; currently if you're not logged in you'll just be redirected to the login page & subsequently the dashboard (or whatever you set as primary page)
I believe it would be a great addition to keep track of the link that redirected you to login, and return to it in case it's a platform url (known route).
This would also allow using the action buttons for emails in a sensible way (when coming from an email there's a high chance you're not logged in)
Steps to Reproduce
- Follow a known-good url in the app, for example user #1 on laravel-enso.com (when not logged in)
- Log in after being redirected to
/login
- note that you're redirected to the dashboard