|The number of seconds after a user's password expires during which they can log in without a password change.
|Introduced in version:||1.23.0 ( )|
|Removed in version:||still in use|
|Default value:||3600 * 24 * 7 (7 days)|
|Other settings: Alphabetical | By function|
This setting defines the length of the "grace period" for password expiry, during which a user whose password has expired can bypass the "change password" prompt shown each time they log in. After this grace period has passed, the user will be unable to skip the password change screen – they will be forced to change their password the next time they log in.
Setting this to 0 disables the grace period entirely, meaning that after a user's password expires, they will be required to change it on their next login attempt.
This setting is ignored unless
$wgPasswordExpirationDays is set to true.