X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=index.php;h=ff42114c3bb9ef3b365d99ce6a83635f592b558c;hp=68e0364cbdba182af47337f52d4767e9f7e982a2;hb=c3a04e328f2c8d40890b0b26b118a193110634ce;hpb=8ed59f107e5b373f3517b3c33e817e70375829c8 diff --git a/index.php b/index.php index 68e0364c..ff42114c 100644 --- a/index.php +++ b/index.php @@ -125,7 +125,7 @@ if (isset($_COOKIE['shaarli']) && !SessionManager::checkId($_COOKIE['shaarli'])) $conf = new ConfigManager(); $sessionManager = new SessionManager($_SESSION, $conf); -$loginManager = new LoginManager($GLOBALS, $conf, $sessionManager); +$loginManager = new LoginManager($conf, $sessionManager); $loginManager->generateStaySignedInToken($_SERVER['REMOTE_ADDR']); $clientIpId = client_ip_id($_SERVER);