Merge branch 'MDL-52585-29' of git://github.com/jleyva/moodle into MOODLE_29_STABLE

This commit is contained in:
Andrew Nicols
2016-01-12 14:37:29 +08:00
+1 -1
View File
@@ -204,5 +204,5 @@ if (!empty($user)) {
$usertoken->token = $token->token;
echo json_encode($usertoken);
} else {
throw new moodle_exception('usernamenotfound', 'moodle');
throw new moodle_exception('invalidlogin');
}