Thank you very very very much Bruno! that works! web2py have the best online community!
On Sun, Jan 22, 2012 at 11:23 AM, Bruno Rocha <rochacbr...@gmail.com> wrote: > > Thats what I have in http://movu.ca > > def loginbare(self): > username = self.request.vars.email > password = self.request.vars.password > user = auth.login_bare(username, password) > if user: > redirect(URL('person', 'show')) > else: > redirect(URL('home', 'index', args=[username, 'loginerror'])) > > So I have a form that posts username and password to /loginbare action (it > can be done in ajax) > > > > -- > > Bruno Rocha > [http://rochacbruno.com.br] > >