If i got form.vars.password. Can I get salt and hash like variables? Now I
do that:
aList = str(form.vars.password).split('$')
salt=aList[1]
hash=aList[2]
суббота, 13 октября 2018 г., 0:11:16 UTC+3 пользователь Anthony написал:
>
>
>> if
>> form.process(formname='form',onvalidation=check_agreement).accepted:
>> #How can I get hash and maybe random salt HERE???
>>
>
> request.vars.password is the raw data sent from the browser. After form
> processing, the transformed value will be in form.vars.password.
>
> Anthony
>
--
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 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/d/optout.