From 94ceb0fccfae3f03a8e60dd93285b06a054ee9ae Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Tue, 19 Feb 2019 13:17:47 +0100 Subject: [PATCH] SL::DB _register_db Passwort aus $type herausfiltern Es wurde nach dem falschen String gefiltert. --- SL/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB.pm b/SL/DB.pm index c678ed14f..60681c7e6 100644 --- a/SL/DB.pm +++ b/SL/DB.pm @@ -93,7 +93,7 @@ sub _register_db { my %flattened_settings = _flatten_settings(%connect_settings); $domain = 'KIVITENDO' if $type =~ m/^KIVITENDO/; - $type .= join($SUBSCRIPT_SEPARATOR, map { ($_, $flattened_settings{$_} || '') } sort grep { $_ ne 'dbpasswd' } keys %flattened_settings); + $type .= join($SUBSCRIPT_SEPARATOR, map { ($_, $flattened_settings{$_} || '') } sort grep { $_ ne 'password' } keys %flattened_settings); my $idx = "${domain}::${type}"; if (!$_db_registered{$idx}) { -- 2.20.1