From: Toshi MARUYAMA Date: Mon, 25 Nov 2019 09:08:44 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/IndentFirstHashElement in app/models/auth_source_ldap.rb X-Git-Tag: 4.2.0~1348 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0c341eb21d408dcbee33eccb13effc0bc0035bd1;p=redmine.git 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 --- 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