solving issues/2 by replacing md5() with hashPassword() in scripts/general.func.php
This commit is contained in:
parent
f0b6325af8
commit
7b8a66c1d4
4 changed files with 15 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue