Hi,
I have multi tenant application where i have two logins.
One login is only for super user and can be found on mydomain.com/login.
Other login is for regular users and can be found on
mydomain.com/company/login or mydomain/company2/login.
I have my own login and logout function, my login function sets the cookie
with the name of the company. In my logout function name of the company
is retrieved, cookie is destroyed and user is redirected to login for that
user/company - mydomain.com/company/login.
in my 0.py i have:
auth.settings.login_url = URL("default", "login")
auth.settings.logged_url = URL("default", "logout")
auth.settings.expiration = 10 - this is only for testing purpose
How do i set system logout function? Because when user is logged out he is
redirected to mydomain.com/login.
--
---
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].
For more options, visit https://groups.google.com/groups/opt_out.