Small change to allow the same user (by email) be deleted more than
once. Also some security in making deleted usernames very hard to guess.
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@
|
||||
exit;
|
||||
} else if (!$user->deleted) {
|
||||
$user->deleted = "1";
|
||||
$user->username = $user->email; // Remember it just in case
|
||||
$user->username = "$user->email.".time(); // Remember it just in case
|
||||
$user->email = ""; // Clear this field to free it up
|
||||
$user->timemodified = time();
|
||||
if (update_record("user", $user)) {
|
||||
|
||||
Reference in New Issue
Block a user