panda_pal 5.2.2 → 5.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/panda_pal/helpers/controller_helper.rb +1 -1
- data/lib/panda_pal/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: f45c2c850cfd4b5551aab3608bc23a315c220c4e29f808e7cfc7889858b3b0cf
|
4
|
+
data.tar.gz: 4b53ce7fb3a47bcda9f9720696efd76d0c92c66cecd9abb3f8b03e318968187c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7139f7d41bd4dbef2d955db4986aeb19a5ae19794a1677efb30621d9c3e6326e675b7128e46d6d609131c8c31861a3bb2cdce1ee7fca0282ed66c1a5a00b0dd3
|
7
|
+
data.tar.gz: 53df5ac963b3b52bbe02f3fe296a79fa57fb73460cafd3a5261ca7092bdc80f5bce95011522c71cef41dd0635398878f4562450b8010db1e3011a9742c1c76d0
|
@@ -22,7 +22,7 @@ module PandaPal::Helpers::ControllerHelper
|
|
22
22
|
payload = JSON.parse(panda_pal_cryptor.decrypt_and_verify(params[:session_token])).with_indifferent_access
|
23
23
|
matched_session = PandaPal::Session.find_by(session_key: payload[:session_key])
|
24
24
|
|
25
|
-
if matched_session.present? && matched_session.data[:link_nonce] ==
|
25
|
+
if matched_session.present? && matched_session.data[:link_nonce] == payload[:nonce]
|
26
26
|
@current_session = matched_session
|
27
27
|
@current_session.data[:link_nonce] = nil
|
28
28
|
end
|
data/lib/panda_pal/version.rb
CHANGED