Validate status codes returned from the AbortLogin hook
authorGergő Tisza <gtisza@wikimedia.org>
Mon, 17 Aug 2015 23:08:00 +0000 (23:08 +0000)
committerBryanDavis <bdavis@wikimedia.org>
Sat, 24 Oct 2015 22:26:55 +0000 (22:26 +0000)
commit13769342a1a8006b09d73a1c803fd85402f8004e
tree08d02f69df2979c9420d60539af2ef982c9ba77a
parent6989e1c8d610132a08a9d6ecc3cd243d31fe026a
Validate status codes returned from the AbortLogin hook

In case of a return value which is not in LoginForm::$statusCodes,
this results in a nicer error message instead of an array access error.

Bug: T109193
Change-Id: I64c955327c7dfc64807fa83d30538f3da66618bc
includes/specials/SpecialUserlogin.php