Permalink
Browse files

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.
  • Loading branch information...
1 parent e1e499e commit dfe952f2ea3ca1146da4c5fc3fa13538cb6341db moodler committed Nov 18, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/user.php
View
@@ -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)) {

0 comments on commit dfe952f

Please sign in to comment.