2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 04:36:02 +00:00

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 6df88c2cfa
commit a75bf485fa

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)) {