summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-25 09:08:44 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-25 09:08:44 +0000
commit0c341eb21d408dcbee33eccb13effc0bc0035bd1 (patch)
tree9236d0de4051fc234d951d02f53351fe73972b09
parent71072f619c26c83a6a5ce82627e11ea1dce9ade4 (diff)
downloadredmine-0c341eb21d408dcbee33eccb13effc0bc0035bd1.tar.gz
redmine-0c341eb21d408dcbee33eccb13effc0bc0035bd1.zip
cleanup: rubocop: fix Layout/IndentFirstHashElement in app/models/auth_source_ldap.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19292 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/auth_source_ldap.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/models/auth_source_ldap.rb b/app/models/auth_source_ldap.rb
index aba76a6fc..3e1b7c10b 100644
--- a/app/models/auth_source_ldap.rb
+++ b/app/models/auth_source_ldap.rb
@@ -196,11 +196,11 @@ class AuthSourceLdap < AuthSource
def get_user_attributes_from_ldap_entry(entry)
{
- :dn => entry.dn,
- :firstname => AuthSourceLdap.get_attr(entry, self.attr_firstname),
- :lastname => AuthSourceLdap.get_attr(entry, self.attr_lastname),
- :mail => AuthSourceLdap.get_attr(entry, self.attr_mail),
- :auth_source_id => self.id
+ :dn => entry.dn,
+ :firstname => AuthSourceLdap.get_attr(entry, self.attr_firstname),
+ :lastname => AuthSourceLdap.get_attr(entry, self.attr_lastname),
+ :mail => AuthSourceLdap.get_attr(entry, self.attr_mail),
+ :auth_source_id => self.id
}
end