Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openmrs/openmrs-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4bb246992fc3
Choose a base ref
...
head repository: openmrs/openmrs-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1adb490974aa
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Sep 11, 2013

  1. TRUNK-3878: Forgot password form IP-based lockout locks everyone from…

    … using it
    chalakanth committed Sep 11, 2013
    Copy the full SHA
    6b7b11c View commit details

Commits on Sep 12, 2013

  1. Merge pull request #401 from chalakanth/TRUNK-3878

    TRUNK-3878: Forgot password form IP-based lockout locks everyone from using it
    dkayiwa committed Sep 12, 2013
    Copy the full SHA
    1adb490 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/src/main/java/org/openmrs/web/controller/ForgotPasswordFormController.java
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse

String username = request.getParameter("uname");

String ipAddress = request.getLocalAddr();
String ipAddress = request.getRemoteAddr();
Integer forgotPasswordAttempts = loginAttemptsByIP.get(ipAddress);
if (forgotPasswordAttempts == null)
forgotPasswordAttempts = 1;