Skip to content
Snippets Groups Projects
Commit 486c80dd authored by Regi Arjuna Purba's avatar Regi Arjuna Purba
Browse files

fix login password hashed

parent de7bbe31
Branches
No related merge requests found
Pipeline #22153 canceled with stages
......@@ -25,7 +25,7 @@ if (isset($_POST['submit'])) {
} else {
if ($row = mysqli_fetch_assoc($result)) {
// echo $row['secret_code'];
$pwdCheck = ($password == $row['password']);
$pwdCheck = password_verify($password, $row['password']);
if ($pwdCheck == false) {
# code...
header("Location: ../login.php?login=wrongPW");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment