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:
authorGabriel Mazetto <gabriel@gitlab.com>2016-01-12 17:29:10 +0300
committerGabriel Mazetto <gabriel@gitlab.com>2016-01-12 17:29:10 +0300
commitac6a10f3e88c5d2081b8638df63016089517a844 (patch)
treee39451ddb02f6689d0f9d77b8d08d2d91abd3c71 /app/models/identity.rb
parent47e4613f4adc2d6ef4b066a87ec772ef8044bdd5 (diff)
Codestyle changes
Diffstat (limited to 'app/models/identity.rb')
-rw-r--r--app/models/identity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/identity.rb b/app/models/identity.rb
index 830b99fa3f2..e1915b079d4 100644
--- a/app/models/identity.rb
+++ b/app/models/identity.rb
@@ -19,7 +19,7 @@ class Identity < ActiveRecord::Base
validates :extern_uid, allow_blank: true, uniqueness: { scope: :provider }
validates :user_id, uniqueness: { scope: :provider }
- def is_ldap?
+ def ldap?
provider.starts_with?('ldap')
end
end