[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. d2126f1a659717f2ae201304d34b32e7ba254e0d

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, rel_2_8 has been updated
       via  d2126f1a659717f2ae201304d34b32e7ba254e0d (commit)
      from  a4c3957e6223c04ffa6400b43b4e9e20a145caf8 (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 d2126f1a659717f2ae201304d34b32e7ba254e0d
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 fcc71a5..8e86249 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
@@ -3980,7 +3980,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