2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

73_GardenaSmartBridge: change logging output for username and password

git-svn-id: https://svn.fhem.de/fhem/trunk@16451 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2018-03-20 08:29:22 +00:00
parent a816d13538
commit cff2fc42ec
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it. # Do not insert empty lines here, update check depends on it.
- change: 73_GardenaSmartBridge: change logging output for username and
password
- feature: 93_DbRep: 7.14.6, attr expimpfile can use some kinds of wildcards - feature: 93_DbRep: 7.14.6, attr expimpfile can use some kinds of wildcards
- feature: 59_WUup: V0.9.6, calculate solarradiation from lux to W/m² - feature: 59_WUup: V0.9.6, calculate solarradiation from lux to W/m²
- feature: 73_AMADCommBridge: fix Commandref, add allowfrom support - feature: 73_AMADCommBridge: fix Commandref, add allowfrom support

View File

@ -68,7 +68,7 @@ eval "use JSON;1" or $missingModul .= "JSON ";
eval "use IO::Socket::SSL;1" or $missingModul .= "IO::Socket::SSL "; eval "use IO::Socket::SSL;1" or $missingModul .= "IO::Socket::SSL ";
my $version = "0.4.1"; my $version = "0.4.2";
@ -147,7 +147,10 @@ sub GardenaSmartBridge_Define($$) {
my $username = GardenaSmartBridge_encrypt($user); my $username = GardenaSmartBridge_encrypt($user);
my $password = GardenaSmartBridge_encrypt($pass); my $password = GardenaSmartBridge_encrypt($pass);
Log3 $name, 3, "GardenaSmartBridge ($name) - encrypt $user/$pass to $username/$password" if($user ne $username || $pass ne $password);
## Ausgabe geändert wegen Forumempfehlung #85801
#Log3 $name, 3, "GardenaSmartBridge ($name) - encrypt $user/$pass to $username/$password" if($user ne $username || $pass ne $password);
Log3 $name, 3, "GardenaSmartBridge ($name) - encrypt username and password" if($user ne $username || $pass ne $password);
$hash->{DEF} = "$username $password"; $hash->{DEF} = "$username $password";
$hash->{helper}{username} = $username; $hash->{helper}{username} = $username;