diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-12-13 20:02:49 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-12-15 14:48:48 +0300 |
commit | 481b8a71f8ee63758d26a57a6367c091d4b76b09 (patch) | |
tree | 1dad8e2612bdce00ca3b537db648bcd54785a95a /lib/gitlab/ldap/user.rb | |
parent | d673628de003d1ce1402f03311066339828fb811 (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.rb | 4 |
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 |