Permalink
Browse files

user_info use string instead of symbol as key

  • Loading branch information...
1 parent 06392f1 commit 289a1e7334346f27d0036d78748d3f4fb675c254 @sishen sishen committed Sep 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 oa-enterprise/lib/omniauth/strategies/saml.rb
View
4 oa-enterprise/lib/omniauth/strategies/saml.rb
@@ -49,8 +49,8 @@ def auth_hash
def user_info
name = @response.attributes[:name] || "#{@response.attributes[:firstname]} #{@response.attributes[:lastname]}"
{
- :name => name,
- :email => @response.attributes[:email]
+ 'name' => name,
+ 'email' => @response.attributes[:email]
}
end

0 comments on commit 289a1e7

Please sign in to comment.