update #5

Open
mdebray wants to merge 231 commits from update into main
Showing only changes of commit b23784f598 - Show all commits

View file

@ -58,7 +58,7 @@ public class UserAuthenticationFilter extends OncePerRequestFilter {
try {
// Use API key to authenticate. This requires you to have an authentication
// provider for API keys.
Optional<User> user = userService.loadUserByApiKey(apiKey);
Optional<User> user = userService.getUserByApiKey(apiKey);
if (!user.isPresent()) {
response.setStatus(HttpStatus.UNAUTHORIZED.value());
response.getWriter().write("Invalid API Key.");