File sid-validation.patch of Package zabbix.25188

From 496877e03976e9197eee31add9c864b8ab228441 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C4=81rti=C5=86=C5=A1=20T=C4=81lbergs?=
 <martins.talbergs@zabbix.com>
Date: Thu, 7 Jan 2021 11:31:32 +0200
Subject: [PATCH] ..F....... [DEV-1794] fixed missing SID valiadion in
 authentication update route

---
 .../php/app/controllers/CControllerAuthenticationUpdate.php     | 2 --
 frontends/php/include/menu.inc.php                              | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/frontends/php/app/controllers/CControllerAuthenticationUpdate.php b/frontends/php/app/controllers/CControllerAuthenticationUpdate.php
index 3116435c705..be452d3ceee 100644
--- a/frontends/php/app/controllers/CControllerAuthenticationUpdate.php
+++ b/frontends/php/app/controllers/CControllerAuthenticationUpdate.php
@@ -31,8 +31,6 @@ protected function init() {
 			->setArgument('action', 'authentication.edit')
 			->getUrl()
 		);
-
-		$this->disableSIDValidation();
 	}
 
 	protected function checkInput() {
diff --git a/frontends/php/include/menu.inc.php b/frontends/php/include/menu.inc.php
index 88996394cc9..fe8f6818d30 100644
--- a/frontends/php/include/menu.inc.php
+++ b/frontends/php/include/menu.inc.php
@@ -259,7 +259,7 @@ function zbx_construct_menu(&$main_menu, &$sub_menus, &$page, $action = null) {
 				[
 					'url' => 'zabbix.php',
 					'action' => 'authentication.edit',
-					'active_if' => ['authentication.edit', 'authentication.update'],
+					'active_if' => ['authentication.edit'],
 					'label' => _('Authentication')
 				],
 				[
openSUSE Build Service is sponsored by