My app consists of two sides, the public side(default/index) accessible to anyone from anywhere and the private side(admin/index) accessible to only administrators. I moved the function responsible for authentication from the 'default.py' controller to the 'admin.py' as the public side requires no authorization to access but when I use the auth.requires_login() decorator on the admin side the user gets redirected to 'default/user/login' which no longer exist. please how can I make the authentication redirect to 'admin/user' instead?
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/b8ed019e-86d6-4951-82ff-2dca608072d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

