aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-05-25 16:13:56 +0200
committerGitHub <noreply@github.com>2019-05-25 16:13:56 +0200
commitc3a04e328f2c8d40890b0b26b118a193110634ce (patch)
tree14ec8fd8d1d9d65d2e5234191cad40be9691d035 /index.php
parent8ed59f107e5b373f3517b3c33e817e70375829c8 (diff)
parentb49a04f796b9ad8533c53fee541132a4c2214909 (diff)
downloadShaarli-c3a04e328f2c8d40890b0b26b118a193110634ce.tar.gz
Shaarli-c3a04e328f2c8d40890b0b26b118a193110634ce.tar.zst
Shaarli-c3a04e328f2c8d40890b0b26b118a193110634ce.zip
Merge pull request #1273 from ArthurHoaro/feature/ban-manager
Rewrite IP ban management
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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']))
125 125
126$conf = new ConfigManager(); 126$conf = new ConfigManager();
127$sessionManager = new SessionManager($_SESSION, $conf); 127$sessionManager = new SessionManager($_SESSION, $conf);
128$loginManager = new LoginManager($GLOBALS, $conf, $sessionManager); 128$loginManager = new LoginManager($conf, $sessionManager);
129$loginManager->generateStaySignedInToken($_SERVER['REMOTE_ADDR']); 129$loginManager->generateStaySignedInToken($_SERVER['REMOTE_ADDR']);
130$clientIpId = client_ip_id($_SERVER); 130$clientIpId = client_ip_id($_SERVER);
131 131