]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/IndentFirstHashElement in app/models/auth_source_ldap.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 25 Nov 2019 09:08:44 +0000 (09:08 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 25 Nov 2019 09:08:44 +0000 (09:08 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19292 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/auth_source_ldap.rb

index aba76a6fc39491693bef5ab941d44c848f6c6487..3e1b7c10b5f9772823353c763e2974224fa2cd4a 100644 (file)
@@ -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