This commit is contained in:
Marcus Hill 2022-01-11 19:16:49 +00:00
parent 8e0334aab1
commit 82107679cc
1 changed files with 1 additions and 1 deletions

View File

@ -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'");
mysqli_query($mysqli, "UPDATE users SET user_password = 'Invalid due to upgrade' WHERE user_id NOT IN ($userion_user_id)");
$extended_log_description = ", invalidated all user passwords";
echo "Invalidated all user passwords. You must re-set them from this user account.<br>";
}