Merge remote-tracking branch 'eg-working/collab/berick/lp_888239_prevent_post-capture...
[working/Evergreen.git] / Open-ILS / src / perlmods / lib / OpenILS / WWW / EGCatLoader / Account.pm
index 92ab41e..21c08ab 100644 (file)
@@ -1741,6 +1741,7 @@ sub load_password_reset {
     } elsif ($barcode or $username) {
 
         my @params = $barcode ? ('barcode', $barcode) : ('username', $username);
+        push(@params, $email) if $email;
 
         $U->simplereq(
             'open-ils.actor',