In my app I have an @auth.requires_login() before most of the actions
but this only shows me a form asking for username and password (since
I have field username in auth_user table), but I would like to be able
to register a new user too instead.

It seems that I need to set auth.settings.login_form to a function
which creates the custom form. This custom form would have to bundle
two forms: one for login, one for registration.
Am I on the right track here?.

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

Reply via email to