auth.settings.login_onaccept=URL('afterlogin') #assuming it's in the
default controller.
does the same.
For reference, the other callsbacks *(before) db io* are:
auth.settings.login_onvalidation = []
auth.settings.register_onvalidation = []
auth.settings.profile_onvalidation = []
auth.settings.re
Hi All,
I want to redirect to a custom html file (NOT Index.html)
after user logs in using Auth Login() -
auth.settings.login_onaccept = []
Redirect after a successful login to a html file residing here- views
\default\samples.html
What would I need to define and where? I checked
Hi All,
I want to redirect to a custom html file (NOT Index.html)
after user logs in using Auth -
auth.settings.login_onaccept = []
What would I need to define and where? I checked online version of
book but found it very limited. Please suggest
3 matches
Mail list logo