From: Llewellyn Marshall Date: Wed, 29 Jun 2022 18:49:22 +0000 (-0400) Subject: check current_pw instead of using database function X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=be6921b0c610be6f055d3e8e796d83b91147e36d;p=working%2FEvergreen.git check current_pw instead of using database function --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm index 7b3f87bbce..d26383f6d3 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -2760,7 +2760,7 @@ sub load_myopac_update_password { return Apache2::Const::OK; } - if($U->verify_migrated_user_password($e, $e->requestor->id, $new_pw, 1)) { + if($current_pw eq $new_pw) { $ctx->{password_duplicate} = 1; return Apache2::Const::OK; }