diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2016-01-12 12:29:10 -0200 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2016-01-12 12:29:10 -0200 |
commit | ac6a10f3e88c5d2081b8638df63016089517a844 (patch) | |
tree | e39451ddb02f6689d0f9d77b8d08d2d91abd3c71 /app/models/identity.rb | |
parent | 47e4613f4adc2d6ef4b066a87ec772ef8044bdd5 (diff) | |
download | gitlab-ce-ac6a10f3e88c5d2081b8638df63016089517a844.tar.gz |
Codestyle changes
Diffstat (limited to 'app/models/identity.rb')
-rw-r--r-- | app/models/identity.rb | 2 |
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 |