Bug 16719: (follow-up) Update check on password mapping

Change to allow for unmapped default passwords

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Oliver Behnke 2020-02-07 12:35:21 +00:00 committed by Martin Renvoize
parent f514a37d88
commit be7ca413fd
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -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;