Prevent self user delete

This commit is contained in:
Borislav Pantaleev
2024-08-31 01:00:29 +03:00
parent dbcb4f92dc
commit 056d9c6b4c
8 changed files with 101 additions and 17 deletions

View File

@@ -141,6 +141,7 @@ const en: SynapseTranslationMessages = {
password: "Changing password will log user out of all sessions.",
deactivate: "You must provide a password to re-activate an account.",
erase: "Mark the user as GDPR-erased",
erase_admin_error: "Deleting own user is not allowed.",
},
action: {
erase: "Erase user data",