Do you use the decorator ?

If not try the

@auth.requires_login()


It maybe the decorator that manage the redirection...

I have look in my app and can't see that I do something special for allow
redirection...

Richard

On Fri, Sep 16, 2011 at 11:31 AM, sagar nigade <[email protected]>wrote:

> By deafult it is not redirected to url he asked
> I had definded auth.settings.login_next=url(default url)
> but by removing it also not redirecting to the url user asked.
>
>
>
> On Fri, Sep 16, 2011 at 8:54 PM, sagar nigade <[email protected]>wrote:
>
>> Thanks for reply richard but not geting you.
>>
>> On Fri, Sep 16, 2011 at 8:45 PM, Richard Vézina <
>> [email protected]> wrote:
>>
>>> It suposed to be managed by default no?
>>>
>>> Richard
>>>
>>>
>>> On Fri, Sep 16, 2011 at 11:12 AM, sagar <[email protected]> wrote:
>>>
>>>>
>>>> How to redirect user to original url he asked after login
>>>>
>>>> I seen there is auth.settings.login_next but I am not able to get that
>>>> original requested url.
>>>>
>>>> Please help.
>>>>
>>>
>>>
>>
>

Reply via email to