ishapi 0.1.8.141 → 0.1.8.142
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ishapi/application_controller.rb +0 -5
- 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: 22b9f244f6e4a3c79fda643d0eca55e244a03ad5762412d2cb52f6175ee2ce97
|
4
|
+
data.tar.gz: b6bd24cdaad0054db3ad571623964a87517784933e0e01f7c67fe745fea5c93b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 582ad0e2dd8f1f809a87ee5716b1770d05a00198d3d93a1b203151dca8cdf0c7844c18a499486686d6f95a84dd78c920263c07b6c73f4eff8ead2b6372cb412f
|
7
|
+
data.tar.gz: 01c8f26d18422745fdae325588c46d92828d65f86a677fece418ec2e98e9f6ba1fb9a694fb23d140ee270f1ca8a42d179b9667cc362e504be8aef43eefc9b28a
|
@@ -134,7 +134,6 @@ module Ishapi
|
|
134
134
|
decoded = decode(params[:jwt_token])
|
135
135
|
@current_user = User.find decoded['user_id']
|
136
136
|
else
|
137
|
-
puts! 'check_multiprofile(): no access token'
|
138
137
|
raise "ww1 - not implemented"
|
139
138
|
end
|
140
139
|
|
@@ -161,8 +160,6 @@ module Ishapi
|
|
161
160
|
|
162
161
|
# this doesn't generate long-lived token, doesn't update user_profile
|
163
162
|
def check_profile
|
164
|
-
puts! params, 'params'
|
165
|
-
|
166
163
|
# return check_multiprofile 'google'
|
167
164
|
# return check_multiprofile 'facebook'
|
168
165
|
return check_multiprofile 'jwt'
|
@@ -183,7 +180,6 @@ module Ishapi
|
|
183
180
|
|
184
181
|
## for sedux
|
185
182
|
sign_in( @current_user )
|
186
|
-
# puts! @current_user, '@current_user 222'
|
187
183
|
end
|
188
184
|
|
189
185
|
def set_profile
|
@@ -252,7 +248,6 @@ module Ishapi
|
|
252
248
|
def check_jwt
|
253
249
|
begin
|
254
250
|
decoded = decode(params[:jwt_token])
|
255
|
-
puts! decoded, 'decoded'
|
256
251
|
@current_user = User.find decoded['user_id']
|
257
252
|
rescue JWT::ExpiredSignature
|
258
253
|
Rails.logger.info("JWT::ExpiredSignature")
|