I understand it should work, but have hardtime debugging it.
Just need ideas where to look for this wierd redirection.

W dniu piątek, 6 lipca 2012 12:51:05 UTC+2 użytkownik Marek Mollin napisał:
>
> I ran into very odd behaviour on web2py side.
> Say I have an application and want my login in several places (templates 
> are different so I cannot just do some creative routing).
>
> Structure for logins goes like that.
> /appname/order/signin
> /appname/signin/index
> /appname/place/signin
>
> I setup my default login page in db.py with: 
> auth.settings.login_url=URL('order','signin').
>
> Problem start when I am on /appname/order/signin.
> If authenatication fails I am taken to /appname/default/signin(Nowhere 
> defined)
>
> Anybody ran into something like that ?
>
>

Reply via email to