AuthManager: Fix ConfirmLink validation
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 9 Jun 2016 15:06:38 +0000 (11:06 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 9 Jun 2016 15:20:23 +0000 (11:20 -0400)
commit5e6d9d22502f0b7f9c500f54367e3dbdc43d225c
treebaae034b7b894a41542c67ed9b563233fe063ac9
parent1f675de5971be2454b4ff89d1a01596fb3d38e06
AuthManager: Fix ConfirmLink validation

I726d79de added validation of the incoming requests to
ConfirmLinkSecondaryAuthenticationProvider, but forgot to fill in the
username and action fields before doing so meaning the confirmation
would probably fail.

Change-Id: I75cb65c24538a1e60e3b47a3b9ecfbd3a79ce8bf
includes/auth/ConfirmLinkSecondaryAuthenticationProvider.php
tests/phpunit/includes/auth/ConfirmLinkSecondaryAuthenticationProviderTest.php