diff --git a/fhem/FHEM/96_allowed.pm b/fhem/FHEM/96_allowed.pm index 9512279be..1fdd4b8d9 100644 --- a/fhem/FHEM/96_allowed.pm +++ b/fhem/FHEM/96_allowed.pm @@ -80,6 +80,7 @@ allowed_Authorize($$$$) # Return 0: allow stacking with other instances, see Forum#46380 return 0 if($me->{allowedCommands} =~ m/\b\Q$arg\E\b/); Log3 $me, 3, "Forbidden command $arg for $cl->{NAME}"; + stacktrace() if(AttrVal($me, "verbose", 5)); return 2; } @@ -87,6 +88,7 @@ allowed_Authorize($$$$) return 0 if(!$me->{allowedDevices}); return 1 if($me->{allowedDevices} =~ m/\b\Q$arg\E\b/); Log3 $me, 3, "Forbidden device $arg for $cl->{NAME}"; + stacktrace() if(AttrVal($me, "verbose", 5)); return 2; }