lol_auth 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/managers/facebook/login.rb +2 -2
- data/lib/lol_auth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48dde8ab2d6b0f36f26fb1c6b648e49bae961c2b47ae71f9e27f638f86263bcf
|
4
|
+
data.tar.gz: d56f2a8d10bb40d25d0eb6ec08eb867058fc80a390ac0ecaf8146b267f465588
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68a848dc30c89b3e8875e44a5204793201232db3b03f692293492cdbd83c978a23247e2953d26a9e128e18fa848dafc89b067a3b844d4748b8a5a28cc2f151b1
|
7
|
+
data.tar.gz: f08f020d1d9853ad0133a9ee69cb110f5d67416f9e5b8bffd37c6a971ff9da0e074c96dd1dbe2666f6cec3ea921b6b8ecd5051e38281c51a7703a41434fd4ed9
|
@@ -9,12 +9,12 @@ module Facebook
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def login_with_token(token)
|
12
|
-
return false if @user_type.constantize.where(email: @info['email']).where.not(provider: :facebook).count > 0
|
13
|
-
|
14
12
|
@graph = Koala::Facebook::API.new(token)
|
15
13
|
|
16
14
|
get_info()
|
17
15
|
|
16
|
+
return false if @user_type.constantize.where(email: @info['email']).where.not(provider: :facebook).count > 0
|
17
|
+
|
18
18
|
sign_in(@info['id'])
|
19
19
|
end
|
20
20
|
|
data/lib/lol_auth/version.rb
CHANGED