Permalink
Browse files

Merge pull request #470 from sishen/1.0-beta

user_info use string instead of symbol as key
  • Loading branch information...
2 parents c9bfc2a + 289a1e7 commit 399e532927c14e4aa948ed85b082b497ee4cc679 Michael Bleigh committed Sep 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 399e532

Please sign in to comment.