Horst,

As far as I know Web2py doesn't know auth.settings.logout_next()

After logout and failed requires_login web2py goes to
auth.settings.login_url()


I changed this default behaviour by calling logout in a custom logout
function:


def logout():
    auth.logout(next=URL(r=request, c='default', f='index'))
    return dict()


Kind regards,

Annet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to