> auth.settings.logged_url = URL("default", "logout")
>

The above sets the URL where a logged in user should be redirected if they 
happen to go to the registration page -- by default it is set to be the 
profile page.
 

> How do i set system logout function? Because when user is logged out he is 
> redirected to mydomain.com/login.
>

Not sure what you mean. Do you want to set the location of the logout 
function, or do you want to specify what happens after logout? If the 
latter, auth.settings.logout_next specifies where the user should be 
redirected after logout (assuming you logout using the Auth logout action 
-- if you have your own logout action, you obviously need to code the logic 
there yourself, though I suppose you could still make use of this setting 
in that code).

Anthony 

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to