fhem.pl: Fix Security_Check messages for multi-call (Forum #110306)
git-svn-id: https://svn.fhem.de/fhem/trunk@21709 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -6000,6 +6000,7 @@ SecurityCheck()
|
|||||||
if(@fnd) {
|
if(@fnd) {
|
||||||
unshift(@fnd, "SecurityCheck:");
|
unshift(@fnd, "SecurityCheck:");
|
||||||
push(@fnd, "You can disable this message with attr global motd none");
|
push(@fnd, "You can disable this message with attr global motd none");
|
||||||
|
$defs{global}{init_errors} =~ s/SecurityCheck:.*motd none//s;
|
||||||
$defs{global}{init_errors} .= join("\n", @fnd);
|
$defs{global}{init_errors} .= join("\n", @fnd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user