mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-20 02:22:02 +00:00
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
This commit is contained in:
parent
71072f619c
commit
0c341eb21d
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user