coalescing_panda 5.1.4 → 5.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coalescing_panda/session_replacement.rb +1 -1
- data/lib/coalescing_panda/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f317383eecefd1a67bcb72a09bd5630c1f3ecbbc
|
4
|
+
data.tar.gz: daa6e6ad5e3c7f93edb15ded3e974d23db9df7f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a4e7e139bb2872b008da9486d5d828b4600793f8a28379720191a0f1d498af8b58ec0c5e6c0058fbe7910b6796fdc2c3c5a31f5c69f24cd9173a830fcd462a5
|
7
|
+
data.tar.gz: 555eb486c630dd9434da5c61ac86925cf3a05ad7567b50ef0b657f48010c1d0fb5b217715ff3ca8d9f53d5760539ea8a18a65e5fcb44dc14c5e9d0c06ec1e0fa
|
@@ -41,7 +41,7 @@ module CoalescingPanda
|
|
41
41
|
@current_session = matched_session
|
42
42
|
@current_session.data[:link_nonce] = nil
|
43
43
|
elsif payload[:token_type] == 'fixed_ip' && matched_session.data[:remote_ip] == request.remote_ip &&
|
44
|
-
DateTime.parse(matched_session.data[:last_ip_token_requested]) >
|
44
|
+
DateTime.parse(matched_session.data[:last_ip_token_requested]) > session_expiration_period_minutes.minutes.ago
|
45
45
|
@current_session = matched_session
|
46
46
|
elsif payload[:token_type] == 'expiring' && DateTime.parse(matched_session.data[:last_token_requested]) > session_expiration_period_minutes.minutes.ago
|
47
47
|
@current_session = matched_session
|