Skip to content

Commit

Permalink
fix auth response status
Browse files Browse the repository at this point in the history
  • Loading branch information
huanglongchao committed Nov 24, 2023
1 parent c574865 commit 43e941e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void filter(ContainerRequestContext containerRequestContext) throws IOExc
}
if (!authAllow) {
Response response =
Response.status(Response.Status.BAD_REQUEST)
Response.status(Response.Status.UNAUTHORIZED)
.header("reason", "auth check failed!")
.build();
LOGGER.error(
Expand Down

0 comments on commit 43e941e

Please sign in to comment.