AuthManager: Ensure neededRequests have action and username set properly
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 1 Jun 2016 15:58:44 +0000 (11:58 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 1 Jun 2016 16:13:15 +0000 (12:13 -0400)
commitdb521e557482c2bf955447439dc34242b7a3e201
tree530a689291fd0cc6f8b6bba47db391031dedab6f
parent9ec4072d835fd971bd0416c1a790b5a29f520abb
AuthManager: Ensure neededRequests have action and username set properly

They were coming out as null instead, which screws up when requests are
changing their fields based on the action.

Change-Id: Ic8caf57ebad35c3eb17d45f9d96c6de5b559a83a
includes/auth/AuthManager.php
tests/phpunit/includes/auth/AuthManagerTest.php