]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
LoginManager: remove unused parameter
[github/shaarli/Shaarli.git] / index.php
index c87ebf65ad390da04f4c25de3adecd1fe270f98a..30bfc1701c6bf09ec79f2c8497963af7b5cd5811 100644 (file)
--- a/index.php
+++ b/index.php
@@ -179,7 +179,7 @@ if (! is_file($conf->getConfigFileExt())) {
 // a token depending of deployment salt, user password, and the current ip
 define('STAY_SIGNED_IN_TOKEN', sha1($conf->get('credentials.hash') . $_SERVER['REMOTE_ADDR'] . $conf->get('credentials.salt')));
 
-$loginManager->checkLoginState($_SESSION, $_COOKIE, WEB_PATH, $clientIpId, STAY_SIGNED_IN_TOKEN);
+$loginManager->checkLoginState($_COOKIE, WEB_PATH, $clientIpId, STAY_SIGNED_IN_TOKEN);
 
 /**
  * Adapter function to ensure compatibility with third-party templates