I have a controller called Accounts, with the views signin and signout.
The corresponding functions look like this:
function signin() { if (!empt
I don't know about the best way, but I store the attempted destination in a session variable before redirecting them to the sign in page.
Once they have signed in, I redirect them to the stored destination.