From 1914e1016cd9b0315dc19d1c22cdbc6eec7efe40 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 Signed-off-by: Joy Nelson --- 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 69160f3075..09355e2726 100644 --- a/C4/Auth_with_ldap.pm +++ b/C4/Auth_with_ldap.pm @@ -393,7 +393,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