Default block-cookies to 24 hours only
authorSam Wilson <sam@samwilson.id.au>
Tue, 20 Dec 2016 12:08:38 +0000 (20:08 +0800)
committerKaldari <rkaldari@wikimedia.org>
Thu, 22 Dec 2016 02:01:47 +0000 (18:01 -0800)
commit13ce73b9b83cbac1da89b7669ec8bcc2cfa51428
tree4fc085b982862548075e7a11b0e41a42527c920f
parentfbd038ea97f63df13cae48aa991e9261c670be57
Default block-cookies to 24 hours only

Rather than use wgCookieExpiration as the basis for the maximum
life of a block cookie, just use 1 day.

Tests have been updated also.

Bug: T153347
Change-Id: I3447d97af3170308834f365c5c600430f47c66a7
includes/Block.php
tests/phpunit/includes/user/UserTest.php