mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-07 13:24:22 +00:00
feat: MD5 passwords exchanged for bcrypt ones
This commit is contained in:
@@ -85,7 +85,7 @@ else
|
||||
else
|
||||
{
|
||||
// Register them and build the village
|
||||
$uid = $database->register($userName, md5($password), $email, $tribe ,$act);
|
||||
$uid = $database->register($userName, password_hash($password, PASSWORD_BCRYPT, ['cost' => 12]), $email, $tribe ,$act);
|
||||
if($uid)
|
||||
{
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user