Open main menu


This page is a translated version of the page Manual:$wgPasswordExpireGrace and the translation is 11% complete.

Other languages:
English • ‎dansk • ‎español • ‎magyar • ‎polski • ‎日本語
Brugere: $wgPasswordExpireGrace
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 (git #01c8c421)
Removed in version:still in use
Allowed values:(integer)
Default value:3600 * 24 * 7 (7 days)


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.

See also