Skip to content

Commit

Permalink
Fix #300
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiguim committed Aug 10, 2021
1 parent d791311 commit 1963c21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ public User checkWhitelistedIPs(HttpServletRequest request) {
//user.setAdmin(true);
user.setWhiteList(true);
user.setIpAddress(address.toString());
index++;

return user;
}
} catch (UnknownHostException e) {
LOGGER.debug("Invalid IP address from config: {}", request.getRemoteAddr(), e);
}
index++;
}
} catch (UnknownHostException e) {
LOGGER.debug("Invalid IP address: {}", request.getRemoteAddr(), e);
Expand Down

0 comments on commit 1963c21

Please sign in to comment.