I have some pages that I want to keep restricted to Panel Users.
Suppose I have a page at /private-page
and a logged-out user visits that page, I currently can redirect them to the /panel/login
page. However, after logging in, the user simply stays on the Panel page.
Is there a parameter I can pass to the Panel login page that would indicate where to redirect after a successful login?
For example, something like /panel/login?destination=/private-page