mirror of https://github.com/Icinga/icinga2.git
parent
1d2606cbfe
commit
f8399e45db
|
@ -81,8 +81,7 @@ bool ConsoleHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& reques
|
|||
|
||||
String methodName = request.RequestUrl->GetPath()[2];
|
||||
|
||||
String permission = "console";
|
||||
FilterUtility::CheckPermission(user, permission);
|
||||
FilterUtility::CheckPermission(user, "console");
|
||||
|
||||
String session = HttpUtility::GetLastParameter(params, "session");
|
||||
|
||||
|
|
Loading…
Reference in New Issue