diff --git a/views/default.handlebars b/views/default.handlebars index d7c29572..149e884f 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -16675,7 +16675,7 @@ // Show bottom buttons x = '
'; - if (userAdminRights) { x += '' + "Delete User" + ''; } + if (userAdminRights && (userinfo._id != user._id)) { x += '' + "Delete User" + ''; } x += '
'; // If user admin rights and not SSPI/LDAP and UserID does not start with ~, show change password if (userAdminRights && ((features & 0x00080000) == 0) && (user._id.split('/')[2][0] != '~')) {