Manual:$wgExtendedLoginCookies/de

Dictates when the extended lifetime login cookies expire.

Default login cookie lifetime, in seconds. Setting  to null will use  to calculate the cookie lifetime. As with, 0 will make login cookies session-only.

Example
To make login cookies session-only, you can use: