From: Weblate Date: Tue, 22 Mar 2016 09:10:50 +0000 (+0100) Subject: Merge remote-tracking branch 'origin/master' X-Git-Tag: 1.2.0~36 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/84a4575bf1b0c6709f71b3c5a862c17d21747569?hp=1a0308acfde9640228bfa39965773abb24500ae0 Merge remote-tracking branch 'origin/master' --- diff --git a/admin.php b/admin.php index 25b16ed..a0ae04b 100644 --- a/admin.php +++ b/admin.php @@ -53,7 +53,7 @@ if (isset ($_POST['action']) && (strcmp ($_POST['action'], 'logout') == 0)) /* Check classic admin password authentification. */ if (isset ($_POST['admin_password']) && empty($cfg['admin_http_auth_user'])) { - if (strcmp ($cfg['admin_password'], $_POST['admin_password']) == 0) + if ($cfg['admin_password'] === $_POST['admin_password']) $_SESSION['admin_auth'] = true; else {