Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberts Lataria <roberts.lataria@zabbix.com>2020-06-09 22:30:19 +0300
committerRoberts Lataria <roberts.lataria@zabbix.com>2020-06-09 22:32:16 +0300
commit0b7418ae93f41438a2a309862d84fcf45ed9904c (patch)
treef11b789d20dbf77d49435c8863215895a1270aae /ui/index.php
parentd3bba3dd7f370ddcf4f46e710daa4e5813dc5627 (diff)
.......... [ZBXNEXT-5965] commited
Diffstat (limited to 'ui/index.php')
-rw-r--r--ui/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/index.php b/ui/index.php
index b7607a5d18a..dc40ae13265 100644
--- a/ui/index.php
+++ b/ui/index.php
@@ -20,7 +20,6 @@
require_once dirname(__FILE__).'/include/classes/user/CWebUser.php';
-CWebUser::disableSessionCookie();
require_once dirname(__FILE__).'/include/config.inc.php';
require_once dirname(__FILE__).'/include/forms.inc.php';
@@ -45,7 +44,7 @@ $config = select_config();
if (hasRequest('reconnect') && CWebUser::isLoggedIn()) {
if ($config['saml_auth_enabled'] == ZBX_AUTH_SAML_ENABLED && $config['saml_slo_url'] !== ''
- && CSession::keyExists('saml_data')) {
+ && CSessionHelper::has('saml_data')) {
redirect('index_sso.php?slo');
}
@@ -104,3 +103,4 @@ echo (new CView('general.login', [
'autologin' => $autologin == 1,
'error' => (hasRequest('enter') && $messages) ? array_pop($messages) : null
]))->getOutput();
+exit('23');