Blasteh
big tits
Hi,
Previously I was looking for this and I finally found someone that released it on a rival forum so I decided to post here.
Please note, if you already have a user(s) in your database I wouldn't suggest doing this, as they won't be able to login.
Go to app/class.core.php and find this line:
and change it to:
Step 2, go to class.users.php and find something similar to:
then change it to:
Previously I was looking for this and I finally found someone that released it on a rival forum so I decided to post here.
Please note, if you already have a user(s) in your database I wouldn't suggest doing this, as they won't be able to login.
Go to app/class.core.php and find this line:
PHP:
final public function hashed($password)
{
return md5($password);
}
and change it to:
PHP:
final public function hashed($password)
{
return password_hash($password, PASSWORD_BCRYPT);
}
PHP:
final public function userValidation($username, $password) { global $engine; if($engine->num_rows("SELECT * FROM users WHERE username = '" . $username . "' AND password = '" . $password . "' LIMIT 1") > 0) { return true; } return false; }
PHP:
final public function userValidation($username, $password) { global $engine; if($engine->num_rows("SELECT * FROM users WHERE username = '" . $username . "' AND password = '" . $password . "' LIMIT 1") > 0) return password_verify($password); }