Translations:Manual:$wgPasswordExpireGrace/6/en

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.