Manual:$wgNewPasswordExpiry

Email settings: $wgNewPasswordExpiry
The time, in seconds, after which an emailed temporary password expires.
Introduced in version:1.15.0
Removed in version:Still in use
Allowed values:(integer)
Default value:3600 * 24 * 7 (7 days)

Details

The time, in seconds, after which an emailed temporary password expires.

See also