Skip to content

Commit 7718d18

Browse files
committed
AuthenticationFailureListener.getRequest(): add static modifier.
Should be in fcf60b1 commit. No functional changes.
1 parent f7ef16d commit 7718d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/mystamps/web/support/spring/security/AuthenticationFailureListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void onApplicationEvent(AuthenticationFailureBadCredentialsEvent event) {
6161
siteService.logAboutFailedAuthentication(page, method, null, ip, referer, agent, date);
6262
}
6363

64-
private HttpServletRequest getRequest() {
64+
private static HttpServletRequest getRequest() {
6565
ServletRequestAttributes attrs =
6666
(ServletRequestAttributes)RequestContextHolder.currentRequestAttributes();
6767
if (attrs == null) {

0 commit comments

Comments
 (0)