Translations:Manual:$wgCookieExpiration/8/en

You can override this for 'keep me logged in' cookies with $ExtendedLoginCookieExpiration