diff --git a/app/views/profiles/account.html.haml b/app/views/profiles/account.html.haml
index d711d55..42214a1 100644
--- a/app/views/profiles/account.html.haml
+++ b/app/views/profiles/account.html.haml
@@ -86,7 +86,7 @@
.controls
= f.submit 'Save username', class: "btn btn-save"
-- if gitlab_config.signup_enabled
+- if gitlab_config.signup_enabled && !current_user.ldap_user?
%fieldset.remove-account
%legend
Remove account
--
libgit2 0.21.2