Woot. That did it! Thanks!
And I never know when to use them or not when moving to a new line. :)
BR,
Jason Brower
On 05/29/2012 04:28 PM, Anthony wrote:
db.auth_user.insert(password=db.auth_user.password.validate(password),
Validators (including the password CRYPT() validator) return a tuple
of (value, error), where error is None if validation passes. So, the
above should be:
||
db.auth_user.insert(password=db.auth_user.password.validate(password)[0],
That will extract just the hashed value from the returned tuple.
Side note: you don't need all those line continuations ("\") inside
the insert() method parentheses.
Anthony