Feature #19458
Add the ability to expire passwords after a configurable number of days
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Accounts / authentication | |||
Target version: | 3.1.0 | |||
Resolution: | Fixed |
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.
Related issues
Associated revisions
Add the ability to expire passwords after a configurable number of days (#19458).
Patch by Holger Just and Go MAEDA.
Code cleanup (#19458).
History
#1
Updated by Holger Just about 6 years ago
#2
Updated by Go MAEDA about 6 years ago
- Related to Feature #3155: Password policy and secure logon procedure added
#3
Updated by Go MAEDA about 6 years ago
- File expiration_message_example.png added
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.
#4
Updated by Go MAEDA about 6 years ago
Updated the patch.
Added a error message: "Your password has expired or the administrator requires you to change it."
#5
Updated by Go MAEDA about 6 years ago
- Target version set to Candidate for next major release
#6
Updated by Go MAEDA almost 6 years ago
- Target version changed from Candidate for next major release to 3.1.0
Could it be included in next version?
#7
Updated by Jean-Philippe Lang almost 6 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!
#8
Updated by Go MAEDA almost 6 years ago
- Status changed from Closed to Reopened
Thanks for merging the patch!
Please add strings to locales.
#9
Updated by Jean-Philippe Lang almost 6 years ago
- Status changed from Reopened to Closed
Strings added.