Typo fixes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user