LukasKalbertodt / luten

(Not maintained anymore!)
Apache License 2.0
1 stars 1 forks source link

Redirect to original request path after login #34

Open LukasKalbertodt opened 7 years ago

LukasKalbertodt commented 7 years ago

Sergio said in IRC:

Rocket only sets cookies when a non-error handler sets them. 
Might sound a bit weird. 
You should place the redirect page in a query string instead. 
So in the 403 catcher, redirect to `login?next=/mypage` or something.

I guess this is fine, too...