Skip to content

Commit

Permalink
Remove unused UriInfo argument
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed May 21, 2024
1 parent 27ff597 commit 1ac027d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import jakarta.ws.rs.core.NewCookie;
import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.core.SecurityContext;
import jakarta.ws.rs.core.UriInfo;

import java.io.IOException;
import java.net.URI;
Expand Down Expand Up @@ -103,7 +102,7 @@ public Response login(
@ResourceSecurity(WEB_UI)
@GET
@Path(UI_LOGOUT)
public Response logout(@Context HttpHeaders httpHeaders, @Context UriInfo uriInfo, @Context SecurityContext securityContext)
public Response logout(@Context HttpHeaders httpHeaders, @Context SecurityContext securityContext)
{
URI redirectLocation;
if (formWebUiAuthenticationManager.isAuthenticationEnabled(securityContext.isSecure())) {
Expand Down

0 comments on commit 1ac027d

Please sign in to comment.