Skip to content

Commit

Permalink
Merge origin/master
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 committed Jan 11, 2024
2 parents 7a2c90c + ea6b0ee commit 8924372
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/src/main/webapp/Login.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<%@page import="org.cerberus.core.crud.service.IParameterService"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page import="org.cerberus.core.crud.entity.LogEvent" %>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
Expand Down Expand Up @@ -66,7 +67,7 @@
*/
ILogEventService logEventService = appContext.getBean(LogEventService.class);
IFactoryLogEvent factoryLogEvent = appContext.getBean(FactoryLogEvent.class);
logEventService.create(factoryLogEvent.create(0, 0, request.getParameter("j_username"), null, "/Login.jsp", "LOGINERROR", "Invalid Password for : " + request.getParameter("j_username"), request.getRemoteAddr(), request.getLocalAddr()));
logEventService.create(factoryLogEvent.create(0, 0, request.getParameter("j_username"), null, "/Login.jsp", "LOGINERROR", LogEvent.STATUS_ERROR, "Invalid Password for : " + request.getParameter("j_username"), request.getRemoteAddr(), request.getLocalAddr()));
}
%>

Expand Down

0 comments on commit 8924372

Please sign in to comment.