This module allows admin to set company-level password security requirements and enforces them on the user.
It contains features such as
- Password expiration days
- Password length requirement
- Password minimum number of lowercase letters
- Password minimum number of uppercase letters
- Password minimum number of numbers
- Password minimum number of special characters
- Password strength estimation
Table of contents
Configuration
Navigate to General Settings under Configuration
Scroll down to the Password Policy
section
Set the policies to your liking.
Password complexity requirements will be enforced upon next password change for any user in that company.
Settings & Defaults
These are defined at the company level:
Name | Default | Description |
---|---|---|
password_expiration | 60 | Days until passwords expire |
password_length | 12 | Minimum number of characters in password |
password_lower | 0 | Minimum number of lowercase letter in password |
password_upper | 0 | Minimum number of uppercase letters in password |
password_numeric | 0 | Minimum number of number in password |
password_special | 0 | Minimum number of unique special character in password |
password_history | 30 | Disallow reuse of this many previous passwords |
password_minimum | 24 | Amount of hours that must pass until another reset |
password_estimate | 3 | Required score for the strength estimation. |
Usage
Configure using above instructions for each company that should have password security mandates.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
- James Foster <jfoster@laslabs.com>
- Dave Lasley <dave@laslabs.com>
- Kaushal Prajapati <kbprajapati@live.com>
- Petar Najman <petar.najman@modoolar.com>
- Shepilov Vladislav <shepilov.v@protonmail.com>
- Florian Kantelberg <florian.kantelberg@initos.com>
- Andrea Stirpe <a.stirpe@onestein.nl>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/server-auth project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.