From be7ca413fd3cc3f9fadf1f879440859ce5175c02 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 Signed-off-by: Nick Clemens 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.39.5