mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Use builtin sha256 function
This commit is contained in:
@@ -76,8 +76,7 @@ if (isset($_POST['submit']))
|
||||
|
||||
if (!empty($_POST['password']))
|
||||
{
|
||||
include_once("../include/sha256.php");
|
||||
$sql .= ", password = '" . SHA256::hashing($_POST['password']) . "' ";
|
||||
$sql .= ", password = '" . hash('sha256',$_POST['password']) . "' ";
|
||||
}
|
||||
|
||||
$sql .= " WHERE users_name = '$uname'";
|
||||
|
||||
Reference in New Issue
Block a user