Hello Marek,

can you please try:

auth.settings.controller = 'order'



or:

auth = Auth(..., controller = 'order')




Regards,
Marin

Dana petak, 6. srpnja 2012. 12:51:05 UTC+2, korisnik Marek Mollin napisao 
je:
>
> 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