Skip to content
Snippets Groups Projects
Commit 41c8d39a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Wes Gurney
Browse files

Dont show remove user button for ldap user

parent c9b06887
No related branches found
No related tags found
1 merge request!4954Add support to configure webhook_timeout in gitlab.yaml
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment