From 197ed0908846fbe66b90a1997629da47843b71cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aurimas=20Fi=C5=A1eras?= Date: Mon, 29 May 2017 12:49:02 +0300 Subject: [PATCH] Fix session handling --- Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Auth.php b/Auth.php index 2d3a220..a7ab64c 100644 --- a/Auth.php +++ b/Auth.php @@ -353,7 +353,7 @@ function Auth($storageDriver, $options = '', $loginFunction = '', $showLogin = t } // Assign Some globals to internal references, this will replace _importGlobalVariable - $this->session = $_SESSION[$this->_sessionName]; + $this->session = &$_SESSION[$this->_sessionName]; $this->server = $_SERVER; $this->post = $_POST; $this->cookie = $_COOKIE;