Merge "API: Use message-per-value for apihelp-query+alllinks-param-prop"
[lhc/web/wiklou.git] / includes / api / ApiLogin.php
index e3d9295..8c65310 100644 (file)
@@ -179,7 +179,7 @@ class ApiLogin extends ApiBase {
                LoggerFactory::getInstance( 'authmanager' )->info( 'Login attempt', array(
                        'event' => 'login',
                        'successful' => $authRes === LoginForm::SUCCESS,
-                       'status' => $authRes,
+                       'status' => LoginForm::$statusCodes[$authRes],
                ) );
        }