More encryption updates

This commit is contained in:
Marcus Hill
2022-01-11 19:03:33 +00:00
parent 6c6b7e2255
commit 8e0334aab1
2 changed files with 3 additions and 1 deletions

View File

@@ -1039,6 +1039,7 @@ if(isset($_POST['encryption_update'])){
if(!password_verify($password, $row['user_password'])){
$_SESSION['alert_message'] = "User password incorrect.";
header("Location: " . $_SERVER["HTTP_REFERER"]);
exit();
}
//First, check if this user is setup for the new encryption setup