mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Correct password reset
This commit is contained in:
2
post.php
2
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.<br>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user