Merge branch 'MDL-52585-29' of git://github.com/jleyva/moodle into MOODLE_29_STABLE
This commit is contained in:
+1
-1
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user