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:
authorAlexander Shubin <aleksandrs.subins@zabbix.com>2020-10-09 16:25:36 +0300
committerAlexander Shubin <aleksandrs.subins@zabbix.com>2020-10-09 16:25:36 +0300
commit8119ceb440965976a0fc864eb85f842e1d15703d (patch)
tree8c6158168a5ea677642c3c318ebe5e486089a774 /ui/index_http.php
parent4c5f84c992c75350d099f5831d0857ae10ab36df (diff)
..F....... [ZBXNEXT-5965] fixed undefined session id
Diffstat (limited to 'ui/index_http.php')
-rw-r--r--ui/index_http.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/index_http.php b/ui/index_http.php
index bf037750404..4a410a6b2af 100644
--- a/ui/index_http.php
+++ b/ui/index_http.php
@@ -68,6 +68,8 @@ if ($http_user) {
);
if ($user) {
+ CSessionHelper::set('sessionid', $user['sessionid']);
+
$redirect = array_filter([$request, $user['url'], ZBX_DEFAULT_URL]);
redirect(reset($redirect));
}