提交 cdc4d64d 编写于 作者: D Dmitriy Zaporozhets

Dont show remove user button for ldap user

上级 7dfb2b63
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册