solving issues/2 by replacing md5() with hashPassword() in scripts/general.func.php

This commit is contained in:
RobbBienert 2013-10-18 01:36:50 +02:00
parent f0b6325af8
commit 7b8a66c1d4
4 changed files with 15 additions and 10 deletions

View file

@ -31,7 +31,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST' AND $dispatch_login) {
die('Somebody tried to hack Jlog with Response-Splitting.');
}
if (md5($passwort) == JLOG_ADMIN_PASSWORD) {
if (hashPassword($passwort) == JLOG_ADMIN_PASSWORD) {
$_SESSION['logged_in'] = true;
session_regenerate_id(); // neue SID