diff --git a/src/Views/user/user-delete.phtml b/src/Views/user/user-delete.phtml index f359db80..1f4fc1f1 100644 --- a/src/Views/user/user-delete.phtml +++ b/src/Views/user/user-delete.phtml @@ -4,8 +4,12 @@ ['identifier' => $this->context->transport->user->getName()]) ?>" method="post" class="user-delete simple-action confirmable" - autocomplete="off" - data-confirm-text="Are you sure you want to delete your account?"> + getId() == $this->context->transport->user->getId()): ?> + data-confirm-text="Are you sure you want to delete your account?" + + data-confirm-text="Are you sure you want to delete this account?" + + autocomplete="off"> getId() == $this->context->transport->user->getId())