FHEM/96_allowed.pm: log entry for denied logins

git-svn-id: https://svn.fhem.de/fhem/trunk@16179 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2018-02-14 16:58:13 +00:00
parent ec0e35a524
commit 3646dc90fd

View File

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