Configure logged in session length independently
authorSam Smith <git@samsmith.io>
Sat, 21 Jun 2014 14:01:52 +0000 (15:01 +0100)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Tue, 23 Jun 2015 23:31:20 +0000 (19:31 -0400)
commit16cea35d85a3db0e7b4e5047ce6fdb0b92257e47
treea98d30fddc7f6e25424e2a7aae5559ddf2cb84db
parent5ec77cb29bee7962a844265c4768e02bbe430fb2
Configure logged in session length independently

* Add the $wgExtendedLoginCookies configuration variable, which defines
  the set of login cookies that can have their lifetime configured
  independently
* Add the $wgExtendedLoginCookieExpiration configuration variable, which
  dictates when the extended lifetime login cookies expire
* Default $wgExtendedLoginCookieExpiration to null so that the current
  behaviour is unaffected

Bug: T68699
Change-Id: I0cc24524e4d7d9d1d21c9fa8a28c7c76b677b96c
RELEASE-NOTES-1.26
includes/DefaultSettings.php
includes/User.php
includes/specials/SpecialUserlogin.php
tests/TestsAutoLoader.php
tests/phpunit/includes/UserTest.php
tests/phpunit/mocks/MockWebRequest.php [new file with mode: 0644]