Skip to content

Commit

Permalink
Fixed a CL-package-private issue not caught by tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FroMage committed Jan 10, 2024
1 parent 66a55bb commit b0b4192
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,20 @@ public TemplateInstance login() {
return Templates.login();
}

//
// NOTE: public field injection is required in this class due to this class being in a different CL as the generated bean,
// leading to access errors otherwise with package-protected

@Inject
public RenardeSecurity security;
@Inject
public RenardeUserProvider userProvider;

@ConfigProperty(name = "quarkus.renarde.auth.location-cookie")
String redirectLocationCookie;
public String redirectLocationCookie;

@Inject
HttpHeaders httpHeaders;
public HttpHeaders httpHeaders;

@POST
public Response login(@NotBlank @RestForm String username,
Expand Down

0 comments on commit b0b4192

Please sign in to comment.