Hello, greetings
I am new to django , and on a migration from django to web2py . And I have
been doing so by selectivly studying features
I would like to know how could we login a user as in case of django
ie, I would like to authenticate user like following
def UserLogin():
if request.env.request_method=='GET':
# serve the login page
else
uname = request.post_vars.uname
passwd = request.post_vars.passwd
# now i am asking , how can we authenticate and login users as
in case of django ,like say
# user = authenticate(uname,passwd)
# if user is not None:
# login(request,user)
I would like to know how to manually authenticate user , like in case of
django, and with out using any of the web2py forms .
--