Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-12-13 20:02:49 +0300
committerDouwe Maan <douwe@selenight.nl>2017-12-15 14:48:48 +0300
commit481b8a71f8ee63758d26a57a6367c091d4b76b09 (patch)
tree1dad8e2612bdce00ca3b537db648bcd54785a95a /lib/gitlab/ldap/user.rb
parentd673628de003d1ce1402f03311066339828fb811 (diff)
Make sure user email is read only when synced with LDAP
Diffstat (limited to 'lib/gitlab/ldap/user.rb')
-rw-r--r--lib/gitlab/ldap/user.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/ldap/user.rb b/lib/gitlab/ldap/user.rb
index 3945df27eed..84ee94e38e4 100644
--- a/lib/gitlab/ldap/user.rb
+++ b/lib/gitlab/ldap/user.rb
@@ -36,10 +36,6 @@ module Gitlab
ldap_config.block_auto_created_users
end
- def sync_profile_from_provider?
- true
- end
-
def allowed?
Gitlab::LDAP::Access.allowed?(gl_user)
end