forest_liana 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10357e7d733acd195ccb1f8eee89e2c0c97ea038
|
4
|
+
data.tar.gz: d87aeb3190d43f932172d56289350496ac6eeaf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e97272bb5eca82f2632cdbf286186f63e4499f972861be5dcbba94840d3c788f883f927ee3edbc80f3dbf7a7033bfdfe91ee851f987cae53f23e8ff0fe338a79
|
7
|
+
data.tar.gz: 209fc7bbfa51139deec55a7ab809cb3b0a1e62a9e6a5be0218b66e9e195a2d5b31e4a4f75015ac573918b1ace2372f70c90c38a78e140854ae96e2a0b3f59f91
|
@@ -59,11 +59,11 @@ module ForestLiana
|
|
59
59
|
|
60
60
|
def authenticate_user_from_jwt
|
61
61
|
begin
|
62
|
-
if request.headers['Authorization'] ||
|
62
|
+
if request.headers['Authorization'] || params['sessionToken']
|
63
63
|
if request.headers['Authorization']
|
64
64
|
token = request.headers['Authorization'].split.second
|
65
65
|
else
|
66
|
-
token =
|
66
|
+
token = params['sessionToken']
|
67
67
|
end
|
68
68
|
|
69
69
|
@jwt_decoded_token = JWT.decode(token, ForestLiana.auth_secret, true,
|
data/lib/forest_liana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|