From 4adeab1e6739e049895ba8488611d69484e0265e Mon Sep 17 00:00:00 2001 From: Oliver Behnke Date: Fri, 7 Feb 2020 12:35:21 +0000 Subject: [PATCH] Bug 16719: (follow-up) Update check on password mapping Change to allow for unmapped default passwords Signed-off-by: Martin Renvoize --- C4/Auth_with_ldap.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm index 3981c9b8d4..76003c51f1 100644 --- a/C4/Auth_with_ldap.pm +++ b/C4/Auth_with_ldap.pm @@ -392,7 +392,7 @@ sub update_local { ); # MODIFY PASSWORD/LOGIN if password was mapped - _do_changepassword($userid, $borrowerid, $password) if $borrower->{'password'}; + _do_changepassword($userid, $borrowerid, $password) if exists( $borrower->{'password'} ); } 1; -- 2.20.1