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