Manual:$wgPasswordExpirationDays/en

From Linux Web Expert

<translate> Email settings</translate>: $wgPasswordExpirationDays
The number of days that a user's password is good for.
<translate> Introduced in version:</translate>1.23.0 (Gerrit change 92037; git #01c8c421)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(integer) or false
<translate> Default value:</translate>false

Details

The number of days that a user's password is good for. After this number of days, the user will be prompted to change their password every time they log in. After an additional period defined by $wgPasswordExpireGrace , the user will be forced to change their password the next time they log in.

This setting is false by default, meaning that passwords do not expire.

See also