mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +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:
parent
54fbbcf79c
commit
c87da3cd65
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user