Feature #19458
closedAdd the ability to expire passwords after a configurable number of days
0%
Description
This patch adds the ability to configure a number of days after which user's passwords should expire. It uses the recently introduced User#passwd_changed_on
field. The user-visible end result is the same as if an administrator had manually marked a user with must_changed_passwd
.
This patch is against current trunk (r14155) including tests. It was extracted from Planio where we developed this patch for a customer.
This patch might be related to #3155, although this is not directly mentioned there.
Files
Related issues
Updated by Holger Just over 9 years ago
Updated by Go MAEDA over 9 years ago
- Related to Feature #3155: Password policy and secure logon procedure added
Updated by Go MAEDA over 9 years ago
The feature sounds good. I have applied the patch and works fine.
It would be great if there is password expiration message like the following example. I am worried that some users will get confused without a message like this.
Updated by Go MAEDA over 9 years ago
- File 0002-Allow-to-specify-maximum-password-age.patch 0002-Allow-to-specify-maximum-password-age.patch added
Updated the patch.
Added a error message: "Your password has expired or the administrator requires you to change it."
Updated by Go MAEDA over 9 years ago
- Target version set to Candidate for next major release
Updated by Go MAEDA over 9 years ago
- Target version changed from Candidate for next major release to 3.1.0
Could it be included in next version?
Updated by Jean-Philippe Lang over 9 years ago
- Tracker changed from Patch to Feature
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Patch committed in r14264, thanks!
Updated by Go MAEDA over 9 years ago
- Status changed from Closed to Reopened
Thanks for merging the patch!
Please add strings to locales.
Updated by Jean-Philippe Lang about 9 years ago
- Status changed from Reopened to Closed
Strings added.