Community mailing list archives

community@mail.odoo.com

Re: how to change user password using psql

by
redCOR AG, robert rottermann
- 03/25/2015 11:14:21
Thanks,

however..
On 24.03.2015 10:40, Nuria Arranz Velazquez wrote:
> Try this:
>
> update res_users set password_crypt = 'laskdjflaseiuotuikvnxif' where
> login='support@redcor.ch';
I doubt, that this works. As password_crypt probably needs to be some 
encripted value.

the following works:

update res_users set password='XXX' where login='userxx@redcor.ch';

the next time userxx@redcor.ch logs in, the password will be encripted 
and moved to the field password_crypt.

robert