Module: check_mk
Branch: master
Commit: 523a1b4855be9c40d3e908e07ebd4d2819ea66a5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=523a1b4855be9c…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Oct 24 10:02:04 2016 +0200
added missing webapi validation key
---
web/plugins/webapi/webapi.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/webapi/webapi.py b/web/plugins/webapi/webapi.py
index 23a068e..7f624a1 100644
--- a/web/plugins/webapi/webapi.py
+++ b/web/plugins/webapi/webapi.py
@@ -295,7 +295,7 @@ api_actions["discover_services"] = {
###############
def action_activate_changes(request):
- validate_request_keys(request, ["mode", "sites"])
+ validate_request_keys(request, ["mode", "sites",
"allow_foreign_changes"])
mode = html.var("mode") and html.var("mode") or
"dirty"
if html.var("allow_foreign_changes"):