Re: [web2py] Using "auth.settings.login_onaccept"

2011-12-01 Thread Nik Go
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

[web2py] Using "auth.settings.login_onaccept"

2011-11-11 Thread Rahul
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

[web2py] Using "auth.settings.login_onaccept"

2011-11-11 Thread Rahul
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