password=db.auth_user.password.validate('mypassword')[0]
Anthony
On Thursday, April 17, 2014 11:58:23 AM UTC-4, Eduardo Cruz wrote:
> Thanks but how can I crypt the password?
>
>
> On 17 April 2014 11:47, Anthony <[email protected]> wrote:
>
>> There is
>>
>> auth.get_or_create_user(keys=dict(first_name='Eduardo', ...), login=False
>> )
>>
>> Anthony
>>
>>
>> On Thursday, April 17, 2014 11:25:07 AM UTC-4, Eduardo Cruz wrote:
>>
>>> How can I create a user progmatically? I'm trying to make a custom form
>>> for login/register/etc
>>>
>> --
>> 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 a topic in the
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/web2py/sLCxZmK7tmQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Eduardo Cruz
> (829)-775-4605 | [email protected]
>
--
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.