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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
5539
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Aug 23
|
4624 | ||
|
0
May 25
|
1701 | ||
|
13
Sep 24
|
193607 | ||
|
2
Jul 24
|
12966 | ||
|
1
Apr 23
|
4276 |