Typo fixes

This commit is contained in:
Graham Campbell
2015-06-17 14:11:36 +01:00
parent 8c4653c18c
commit fad3ed9a51

View File

@@ -55,10 +55,10 @@ class ApiAuthenticate
}
} elseif ($request->getUser()) {
if ($this->auth->onceBasic() !== null) {
throw new AccessDeniedHttpException();
throw new UnauthorizedHttpException();
}
} else {
throw new AccessDeniedHttpException();
throw new UnauthorizedHttpException();
}
}