mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-24 20:41:44 +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)
|
def get_user_attributes_from_ldap_entry(entry)
|
||||||
{
|
{
|
||||||
:dn => entry.dn,
|
:dn => entry.dn,
|
||||||
:firstname => AuthSourceLdap.get_attr(entry, self.attr_firstname),
|
:firstname => AuthSourceLdap.get_attr(entry, self.attr_firstname),
|
||||||
:lastname => AuthSourceLdap.get_attr(entry, self.attr_lastname),
|
:lastname => AuthSourceLdap.get_attr(entry, self.attr_lastname),
|
||||||
:mail => AuthSourceLdap.get_attr(entry, self.attr_mail),
|
:mail => AuthSourceLdap.get_attr(entry, self.attr_mail),
|
||||||
:auth_source_id => self.id
|
:auth_source_id => self.id
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user