I guess I do not understand what you want to do. I was assuming you wanted registered users (logged in) to be able to register other users. It is asking for username and password becuase you must be logged in to register somebody else.
On Jul 3, 12:35 pm, DenesL <[email protected]> wrote: > On Jul 3, 12:39 pm, mdipierro <[email protected]> wrote: > > > not sure. > > > Try > > > @auth.requires_login() > > def register_other(): > > return dict(form=auth.register(next=URL(r=request,f='index'))) > > > and see it does what you want or not. > > Huh? you lost me there. > Where should register_other go? > It can't be just after the decorator. > I tried placing it in the same controller but I get the same form > asking for just username and password. > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

