Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5704 Vizualizări

How does the odoo user password is encrypted.Means i have to authenticate a user using the password match the password in the db is protected and the encrypted pwd is available if i can create exact password crypt using the user provided pwd them i can compare it and proceed the sign up.

Imagine profil
Abandonează
Cel mai bun răspuns

In Odoo 9.0 he passwords are encrypted using the passlib python library:

from passlib.context import CryptContext 
print CryptContext(['pbkdf2_sha512']).encrypt('MY_PASSWORD')

This is also necessary to recover lost passwords, see https://github.com/odoo/odoo/issues/9806#issuecomment-255487372

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
aug. 23
4908
0
mai 25
2052
13
sept. 24
194803
2
iul. 24
13381
1
apr. 23
4908