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

96_allowed.pm: fix MQTT2_SERVER direct connection (Forum #91356)

git-svn-id: https://svn.fhem.de/fhem/trunk@17419 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-09-28 09:55:29 +00:00
parent d983c9e077
commit 0f9f63a1a4

View File

@ -200,13 +200,12 @@ allowed_Authenticate($$$$)
return ($pw eq $param) ? 1 : 2;
} elsif(!$param || ($param && $param =~ m/^basicAuth:(.*)/)) {
} else {
$param =~ m/^basicAuth:(.*)/;
return allowed_CheckBasicAuth($me, $cl, $1,
AttrVal($aName,"basicAuth",undef), $param);
}
return 0;
}
sub