Nevermind got everything sorted my logic was a bit off

*cheers :D


On Mon, Jan 23, 2012 at 9:20 AM, Andrew Evans <andrew.rusty...@gmail.com>wrote:

> I want to redirect the admin user if they login as admin vs logging in as
> a regular user
>
> if auth.requires_membership('admin'):
>      auth.settings.login_next = URL('control_panel', 'index')
>      auth.settings.logout_next = URL('control_panel', 'index')
>
> that is in my model atm but does not seem to do anything
>
> Any ideas how I can accomplish this
>
> *cheers
>

Reply via email to