[open-ils-commits] [GIT] Evergreen ILS branch master updated. 466756061fce2d877361bd89b7845826059fc330

Evergreen Git git at git.evergreen-ils.org
Sat Feb 27 18:19:32 EST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  466756061fce2d877361bd89b7845826059fc330 (commit)
      from  d7fba543e4306114f5f78561e7448364438c09b5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 466756061fce2d877361bd89b7845826059fc330
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Wed Sep 2 16:20:13 2015 -0400

    LP#1491571: Ignore Case when Checking PW Reset email
    
    Emails are not passwords and are not case sensitive;
    while it is a good idea to require patrons to prove
    they know the address associated with their account
    it is not cool to deny them because they don't know
    the capitalization of the value in the database.
    
    Signed-off-by: Jason Boyer <jboyer at library.in.gov>
    Signed-off-by: Ben Shum <ben at evergreener.net>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
index 2d7c5d6..80da51b 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
@@ -3929,7 +3929,7 @@ sub request_password_reset {
     
     my $email_must_match = $U->ou_ancestor_setting_value($user->home_ou, 'circ.password_reset_request_requires_matching_email');
     if ($email_must_match) {
-        if ($user->email ne $email) {
+        if (lc($user->email) ne lc($email)) {
             return OpenILS::Event->new('EMAIL_VERIFICATION_FAILED');
         }
     }

-----------------------------------------------------------------------

Summary of changes:
 .../src/perlmods/lib/OpenILS/Application/Actor.pm  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list