>
> On Friday, December 2, 2011 12:09:25 AM UTC-5, Yarin wrote:
>>
>> I think the duality of this behavior is confusing and inconsistent:
>> a) It would make more sense for all post-login behavior to follow the
>> same set of rules.
>> b) The default post-login behavior should in all cases be to redirect
>> to the referring URL.
>>
> Yes, that might be a good idea (at least as an option).
>

Actually, I forgot, but this has actually been in trunk for a couple weeks. 
Specifically, the auth.navbar() links will automatically include the 
'_next' variable in the query string so all auth.navbar actions will result 
in redirection back to the original page. Note, this only works for links 
generated by auth.navbar() -- you'll still have to handle it on your own if 
you're generating your own auth action links.

Anthony

Reply via email to