Manual:$wgNewPasswordExpiry

Details
The time, in seconds, when an emailed temporary password expires.