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 6e4d82bb41
commit c51586af87

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