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]

