2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 07:24:21 +00:00

96_allowed.pm: do not warn if there is no user specified

git-svn-id: https://svn.fhem.de/fhem/trunk@16200 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-02-17 12:34:42 +00:00
parent 4aaa10d765
commit 266ab799a6

View File

@ -146,7 +146,8 @@ allowed_Authenticate($$$$)
}
}
Log3 $me, 3, "Login denied by $aName for $user via $cl->{NAME}" if(!$pwok);
Log3 $me, 3, "Login denied by $aName for $user via $cl->{NAME}"
if(!$pwok && $user);
# Add Cookie header ONLY if authentication with basicAuth was succesful
if($pwok && (!defined($authcookie) || $secret ne $authcookie)) {