Manual:$wgRememberMe
Authentication: $wgRememberMe | |
---|---|
Configures RememberMe authentication request added by AuthManager. |
|
Introduced in version: | 1.36.0 (Gerrit change 665805; git #0b17d02d) |
Removed in version: | Still in use |
Allowed values: | One of the RememberMeAuthenticationRequest constants |
Default value: | 'choose' |
Other settings: Alphabetical | By function |
This configuration parameter allows to show a "remember me" checkbox on the login form (special page "Login") that, when checked, will cause it to take more time for the authenticated session to expire. It can also be configured to always or to never extend the authentication session.
Details
Valid values are constants of the RememberMeAuthenticationRequest class:
'choose'
- The user may be able to choose whether to be remembered or not (depends upon whether login form is skipped)'force-choose'
- The user will be able to choose whether to be remembered or not (forces login form not to be skipped)'always'
- The authenticated session will always be extended'never'
- The authenticated session will never be extended