diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-04-27 22:00:35 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2018-06-02 16:46:06 +0200 |
commit | 68dcaccfa46649addc66674b627a83064798bbc0 (patch) | |
tree | 71f25a3e14fa5a8c78a5e23ebc72791aacbd2ab7 /index.php | |
parent | 89ccc83ba497fa91eaaf2a2a52d8549aea5e2aee (diff) | |
download | Shaarli-68dcaccfa46649addc66674b627a83064798bbc0.tar.gz Shaarli-68dcaccfa46649addc66674b627a83064798bbc0.tar.zst Shaarli-68dcaccfa46649addc66674b627a83064798bbc0.zip |
LoginManager: remove unused parameter
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -179,7 +179,7 @@ if (! is_file($conf->getConfigFileExt())) { | |||
179 | // a token depending of deployment salt, user password, and the current ip | 179 | // a token depending of deployment salt, user password, and the current ip |
180 | define('STAY_SIGNED_IN_TOKEN', sha1($conf->get('credentials.hash') . $_SERVER['REMOTE_ADDR'] . $conf->get('credentials.salt'))); | 180 | define('STAY_SIGNED_IN_TOKEN', sha1($conf->get('credentials.hash') . $_SERVER['REMOTE_ADDR'] . $conf->get('credentials.salt'))); |
181 | 181 | ||
182 | $loginManager->checkLoginState($_SESSION, $_COOKIE, WEB_PATH, $clientIpId, STAY_SIGNED_IN_TOKEN); | 182 | $loginManager->checkLoginState($_COOKIE, WEB_PATH, $clientIpId, STAY_SIGNED_IN_TOKEN); |
183 | 183 | ||
184 | /** | 184 | /** |
185 | * Adapter function to ensure compatibility with third-party templates | 185 | * Adapter function to ensure compatibility with third-party templates |