From 6c6b7e225598b810d4da8f412eafda5037de5d4d Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Tue, 11 Jan 2022 18:40:08 +0000 Subject: [PATCH] Correct password reset --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index 67bb03aa..d2a86bc0 100644 --- a/post.php +++ b/post.php @@ -1076,7 +1076,7 @@ if(isset($_POST['encryption_update'])){ //Invalidate user passwords //If we don't do this, users won't be able to see the new passwords properly, and could potentially add passwords that can never be decrypted - mysqli_query($mysqli, "UPDATE users SET login_password = 'Invalid due to upgrade'"); + mysqli_query($mysqli, "UPDATE users SET user_password = 'Invalid due to upgrade'"); $extended_log_description = ", invalidated all user passwords"; echo "Invalidated all user passwords. You must re-set them from this user account.
"; }