File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/java/org/openmrs/web/servlet
test/java/org/openmrs/web/servlet Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public class LoginServlet extends HttpServlet {
5252 public static final String GP_MAXIMUM_ALLOWED_LOGINS = "security.allowedFailedLoginsBeforeLockout" ;
5353
5454 protected static final Log log = LogFactory .getLog (LoginServlet .class );
55- //AdministrationService administrationService = Context.getAdministrationService();
55+
5656
5757 /**
5858 * The mapping from user's IP address to the number of attempts at logging in from that IP
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public void shouldLockUserOutAfterFiveFailedLoginAttempts() throws Exception {
8484 // do the test now
8585 LoginServlet loginServlet = new LoginServlet ();
8686
87- for (int x = 1 ; x < 5 ; x ++) {
87+ for (int x = 1 ; x < 4 ; x ++) {
8888 MockHttpServletRequest request = new MockHttpServletRequest ("POST" , "/loginServlet" );
8989 request .setContextPath ("/somecontextpath" );
9090 MockHttpServletResponse response = new MockHttpServletResponse ();
You can’t perform that action at this time.
0 commit comments