2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

98_JsonMod.pm: fix for long secrets. Thanks: tobi1049, betateilchen (Forum #136727)

git-svn-id: https://svn.fhem.de/fhem/trunk@28481 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
herrmannj 2024-02-05 22:14:33 +00:00
parent 54fbbcf79c
commit c87da3cd65

View File

@ -253,7 +253,7 @@ sub JsonMod_WritePvtConfig {
};
$hash->{'SECRETS'} = join ", ", keys (%{$hash->{'CONFIG'}->{'SECRET'}});
my $key = $hash->{'FUUID'};
my $val = MIME::Base64::encode(JsonMod::JSON::StreamWriter->new()->parse($data));
my $val = MIME::Base64::encode(JsonMod::JSON::StreamWriter->new()->parse($data), '');
my $error = setKeyValue($key, $val);
return;
};