Try to use SQLCustomType instead of filter_in/out
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to
Hi,
I use the email as the login credential, I tried to encrypt the email with
db.auth_user.email.filter_in = lambda value : secure_dumps(value, enc_key)
db.auth_user.email.filter_out = lambda value : secure_loads(value, enc_key)
and it works well, in the database I see the encrypted data while
2 matches
Mail list logo