From fccae5dedbe8f6a54986888b037f4fc9673317b7 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Tue, 11 Jan 2022 19:22:06 +0000 Subject: [PATCH] Typo in user id variable --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index 41fb4a8f..eb319e26 100644 --- a/post.php +++ b/post.php @@ -1077,7 +1077,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 user_password = 'Invalid due to upgrade' WHERE user_id NOT IN ($userion_user_id)"); + mysqli_query($mysqli, "UPDATE users SET user_password = 'Invalid due to upgrade' WHERE user_id NOT IN ($session_user_id)"); $extended_log_description = ", invalidated all user passwords"; echo "Invalidated all user passwords. You must re-set them from this user account.
"; }