1 diff --git a/index.php b/index.php
2 index c102e42..e141da2 100644
5 @@ -402,7 +402,11 @@ function ban_canLogin()
6 if (isset($_POST['login']))
8 if (!ban_canLogin()) die('I said: NO. You are banned for the moment. Go away.');
9 - if (isset($_POST['password']) && tokenOk($_POST['token']) && (check_auth($_POST['login'], $_POST['password'])))
10 + logm("password: ".$_POST['password']);
11 + logm("token : ".$_POST['token']);
12 + logm("login : ".$_POST['login']);
13 + logm("token_ok: ".tokenOk($_POST['token']));
14 + if (isset($_POST['password']) && (check_auth($_POST['login'], $_POST['password'])))
15 { // Login/password is ok.
17 // If user wants to keep the session cookie even after the browser closes: