Dave:

Thanks for your time, I was trying with this other script

keys = {'username':ls_user,'password':ls_password}
ls_result = auth.get_or_create_user(keys)

But then when the user try to login It failed.

Regards.



El martes, 16 de octubre de 2018, 17:09:30 (UTC-4), Dave S escribió:
>
>
>
> On Tuesday, October 16, 2018 at 2:00:03 PM UTC-7, isi_jca wrote:
>>
>> Hello everybody:
>>
>> Is possible to write this script:
>>
>> db(db.auth_user.email == ls_user).update(password = 
>> db.auth_user.password.validate(ls_password))
>>
>> ?
>>
>> I want to set a new password for special user. I don't want to use a form.
>>
>> Regards, thanks in advanced.
>>
>
> You can start from here, but my results have varied.
>
> <URL:https://groups.google.com/d/msg/web2py/MxOgZIk3avc/0ioJTbTLAAAJ>
> (sorry, the linked post has a link to another post)
>
> /dps
>  
>

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

Reply via email to