mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 09:55:38 +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
e0b25713db
commit
88635b0971
@ -253,7 +253,7 @@ sub JsonMod_WritePvtConfig {
|
|||||||
};
|
};
|
||||||
$hash->{'SECRETS'} = join ", ", keys (%{$hash->{'CONFIG'}->{'SECRET'}});
|
$hash->{'SECRETS'} = join ", ", keys (%{$hash->{'CONFIG'}->{'SECRET'}});
|
||||||
my $key = $hash->{'FUUID'};
|
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);
|
my $error = setKeyValue($key, $val);
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user