i had forgotten to add [0], didnt help though..... still got the same
error.... login_bare worked though.... i could pass login and password and
it validated the user for me...
Does login_bare do anything with respect to the session or does it just
validate the fact that the user exists and password is correct. How do I
associate a session with a user login without calling the form.
this is what I am doing right now.
logged_user=auth.login_bare(myemail, mypassword.encode('utf8'))
logger.debug("bare login returned - %s" % logged_user)
ret=""
if (logged_user == False):
logger.debug("user with email - %s not found with bare login" %
myemail)
ret="[error]"
else:
logger.debug("user logged in with bare login, email - %s found" %
myemail)
ret=response.session_id
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.