API: Add "messagecode" to AuthManager responses
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 21 Feb 2017 17:06:41 +0000 (12:06 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 21 Feb 2017 17:06:41 +0000 (12:06 -0500)
commit34ddf8b51a26f01762d0688528ad5de2fba363fd
tree1f8c79b6739faf2d7b5a4445b30f0f8dfe32b537
parent9976107c450f3c30fb89138d887f55ad981b217a
API: Add "messagecode" to AuthManager responses

Following the same logic that the API uses for assigning codes to
warnings and errors.

Bug: T158609
Change-Id: I4e1a4f252e12e990727e8e9ada4ea00c526e3f8f
includes/api/ApiAuthManagerHelper.php