Skip to content

Commit

Permalink
References #28 - Forced login provider uuid to be a string.
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflunt committed Jun 24, 2012
1 parent 6dbe1af commit 89d0d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class User < ActiveRecord::Base
def self.create_with_omniauth(auth)
create! do |user|
user.provider = auth["provider"]
user.uid = auth["uid"]
user.uid = auth["uid"].to_s

case user.provider
when "google_oauth2"
Expand Down

0 comments on commit 89d0d5e

Please sign in to comment.