api_user_auth 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/api_user_auth/auth_user.rb +1 -0
- data/lib/api_user_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: 919fe87dc523bd87a139719d455c6b56fdcf683297da6cbef1a5002df04caf02
|
4
|
+
data.tar.gz: 549d2a220f4ffdea89fbb4736a0ee7ebc517a835087fb5dab1d0fc5fe97586e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 157d379f9b10e3280a3219c8b88c20e5196b02f8083b63f5646ab6fc2c45e1b186599eb7bfdd68380ee92abadc07292707bb91aa23c2cfc7ee4f6c14a413506b
|
7
|
+
data.tar.gz: 5381d7f70e4bedf673c45072f3955b196c1a90d7bd56f21e6213accbdf90cbf36dfc72253543c13a8546e661f7a3b07c8a614f6afd6c5a5aee5ff3037593383e
|
@@ -97,6 +97,7 @@ module ApiUserAuth
|
|
97
97
|
|
98
98
|
if provider_token.blank?
|
99
99
|
auth_user = AuthUser.find_or_initialize_by(email: provider_data[:email])
|
100
|
+
ProviderToken.create_by_data(provider_data, auth_user)
|
100
101
|
auth_user.encrypted_password = params[:token]
|
101
102
|
auth_user.generate_token
|
102
103
|
auth_user.is_new = auth_user.new_record?
|