Created
November 20, 2012 13:42
-
-
Save ohadlevy/4117999 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/models/auth_source_ldap.rb b/app/models/auth_source_ldap.rb | |
index 561628e..d31f0da 100644 | |
--- a/app/models/auth_source_ldap.rb | |
+++ b/app/models/auth_source_ldap.rb | |
@@ -103,7 +103,7 @@ class AuthSourceLdap < AuthSource | |
end | |
def required_ldap_attributes | |
- return [] unless onthefly_register? | |
+ return {} unless onthefly_register? | |
{ :firstname => attr_firstname, | |
:lastname => attr_lastname, | |
:mail => attr_mail, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment