fbdoorman 0.8.0.9 → 0.8.0.91
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/app/controllers/clearance/facebook_controller.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.summary = "Rails authentication with facebook single sign-on OR email & password."
|
19
19
|
gem.description = "Painless user registration and sign-in using Facebook single sign-on with JS. Typical email login still works too."
|
20
20
|
gem.email = "pelaez89@gmail.com"
|
21
|
-
gem.version = "0.8.0.
|
21
|
+
gem.version = "0.8.0.91"
|
22
22
|
gem.homepage = "http://github.com/davidpelaez/minifb-clearance"
|
23
23
|
gem.authors = ["Fbdoorman: David Pelaez","MiniFB: Appoxy","Clearance: Thoughtbot"]
|
24
24
|
gem.files = FileList["[A-Z]*", "{app,config,generators,lib,shoulda_macros,rails}/**/*"]
|
@@ -55,7 +55,7 @@ class Clearance::FacebookController < ApplicationController
|
|
55
55
|
@user.name = new_user.name
|
56
56
|
@user.email2 = new_user.email
|
57
57
|
if @user.save
|
58
|
-
|
58
|
+
sign_in(@user, params[:token], params[:expiration])
|
59
59
|
else
|
60
60
|
render :text => "Please contact the administrator, the Facebook user couldn't be created."
|
61
61
|
end
|