Project

General

Profile

Actions

Feature #19458

closed

Add the ability to expire passwords after a configurable number of days

Added by Holger Just over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Accounts / authentication
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files


Related issues

Related to Redmine - Feature #3155: Password policy and secure logon procedureNew2009-04-10

Actions
Actions #2

Updated by Go MAEDA over 9 years ago

  • Related to Feature #3155: Password policy and secure logon procedure added
Actions #3

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.

Actions #4

Updated by Go MAEDA over 9 years ago

Updated the patch.
Added a error message: "Your password has expired or the administrator requires you to change it."

Actions #5

Updated by Go MAEDA over 9 years ago

  • Target version set to Candidate for next major release
Actions #6

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?

Actions #7

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!

Actions #8

Updated by Go MAEDA over 9 years ago

  • Status changed from Closed to Reopened

Thanks for merging the patch!
Please add strings to locales.

Actions #9

Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from Reopened to Closed

Strings added.

Actions

Also available in: Atom PDF