diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-05-25 16:13:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-25 16:13:56 +0200 |
commit | c3a04e328f2c8d40890b0b26b118a193110634ce (patch) | |
tree | 14ec8fd8d1d9d65d2e5234191cad40be9691d035 /index.php | |
parent | 8ed59f107e5b373f3517b3c33e817e70375829c8 (diff) | |
parent | b49a04f796b9ad8533c53fee541132a4c2214909 (diff) | |
download | Shaarli-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||