From: Bill Erickson Date: Tue, 24 Nov 2015 16:46:32 +0000 (-0500) Subject: LP#1468422 SIP password verification X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4335fe0a95a760e79f22cee0e74e849fed48f68a;p=working%2FEvergreen.git LP#1468422 SIP password verification Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm index ac4f05c3b2..92f0e56d3c 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm @@ -350,7 +350,8 @@ sub check_password { my ($self, $pwd) = @_; syslog('LOG_DEBUG', 'OILS: Patron->check_password()'); return 0 unless (defined $pwd and $self->{user}); - return md5_hex($pwd) eq $self->{user}->passwd; + return $U->verify_migrated_user_password( + $self->{editor},$self->{user}->id, $pwd); } sub currency { # not really implemented