Fix error that was causing only one group to be returned and corrected specs to use the proper attribute type

This commit is contained in:
Patricio Cano
2016-04-06 16:03:35 -05:00
parent 7efaf22bcc
commit 3a36fa8957
2 changed files with 9 additions and 2 deletions
+3 -1
View File
@@ -9,7 +9,9 @@ module Gitlab
private
def get_raw(key)
auth_hash.extra[:raw_info][key]
# Needs to call `all` because of https://github.com/onelogin/ruby-saml/blob/master/lib/onelogin/ruby-saml/attributes.rb#L78
# otherwise just the first value is returned
auth_hash.extra[:raw_info].all[key]
end
end