lets say you want to control manually if some string is the password of the
user

email='some@email'
pwd='12312312'
hashed_pwd = db.auth_user.password.validate(pwd)[0] # I suppose this is
what you want
if
db(((db.auth_user.password==hashed_pwd)&(db.auth_user.email==email)).count():
    #do something

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to