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

@ -59,7 +59,7 @@ class JlogUpdater
function performUpdate($l)
{
if (JLOG_AMDIN_PASSWORD !== md5($_POST['jlog_password']) and JLOG_ADMIN_PASSWORD !== md5(utf8_decode($_POST['jlog_password']))) {
if (JLOG_AMDIN_PASSWORD !== hashPassword($_POST['jlog_password']) and JLOG_ADMIN_PASSWORD !== hashPassword(utf8_decode($_POST['jlog_password']))) {
return '<p>' . $l['admin']['login_false_pw'] . '</p>';
}
@ -146,4 +146,4 @@ class JlogUpdater
}
}
// eof
// eof