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;