[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. bac86e4f87f1b36a7f46ed062eda19a6f6717494

Evergreen Git git at git.evergreen-ils.org
Mon Dec 17 23:55:24 EST 2012


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_3 has been updated
       via  bac86e4f87f1b36a7f46ed062eda19a6f6717494 (commit)
      from  6b3830a4f03b6d4744bb2eea663f164d7f83c186 (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 bac86e4f87f1b36a7f46ed062eda19a6f6717494
Author: Dan Pearl <dpearl at cwmars.org>
Date:   Tue Dec 11 10:13:41 2012 -0500

    LP: #1086064  Ignore spaces in opac username/barcode entry field
    
    Too often, patrons copy the spacing on the barcode on their keytag,
    or enter a spurious space before entering their name/barcode. This
    change will remove spaces in their name/barcode.
    
    (For now, keep the login screen's directions to omit spaces when
    entering the username/barcode.)
    
    Signed-off-by: Dan Pearl <dpearl at cwmars.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
index 5d536dd..ad222e5 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
@@ -352,6 +352,7 @@ sub load_login {
     $ctx->{page} = 'login';
 
     my $username = $cgi->param('username');
+    $username =~ s/\s//g;  # Remove blanks
     my $password = $cgi->param('password');
     my $org_unit = $ctx->{physical_loc} || $ctx->{aou_tree}->()->id;
     my $persist = $cgi->param('persist');

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

Summary of changes:
 .../src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm    |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list