Manual:$wgPasswordExpirationDays

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

Details[edit]

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[edit]