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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue