dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "qunit: Minor clean up in various tests"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiAuthManagerHelper.php
diff --git
a/includes/api/ApiAuthManagerHelper.php
b/includes/api/ApiAuthManagerHelper.php
index
5327d7a
..
d037c36
100644
(file)
--- a/
includes/api/ApiAuthManagerHelper.php
+++ b/
includes/api/ApiAuthManagerHelper.php
@@
-208,6
+208,7
@@
class ApiAuthManagerHelper {
$res->status === AuthenticationResponse::RESTART
) {
$this->formatMessage( $ret, 'message', $res->message );
+ $ret['messagecode'] = ApiMessage::create( $res->message )->getApiCode();
}
if ( $res->status === AuthenticationResponse::FAIL ||