mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +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:
parent
d983c9e077
commit
0f9f63a1a4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user