You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: library/ajax/deleteprofile.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@
7
7
// Pattern checks for .deleted.<digits> after the @ symbol (e.g., user@domain.com.deleted.123)
8
8
db_query('UPDATE cms_users SET deleted = NOW(), email = CONCAT(email,".deleted.",id) WHERE id = :id AND (NOT deleted OR deleted IS NULL) AND email NOT REGEXP "@.*\.deleted\.[0-9]+$"', ['id' => $user_id]);
9
9
updateAuth0UserFromDb($user_id);
10
+
simpleSaveChangeHistory('cms_users', $user_id, 'Record deleted without undelete');
10
11
});
11
12
12
-
simpleSaveChangeHistory('cms_users', $user_id, 'Record deleted without undelete');
13
13
// when a user deactive its account we need to ensure that user logged out immediately and then redirected to Auth0 login page
0 commit comments