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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1f192b2da218022d237ff08164acd4376fc14867a40a72809050bd951fc8334
4
- data.tar.gz: 347dd911d927eeb2326bda476bb32f5de889fe278186a6f88dd49772ce27a4a3
3
+ metadata.gz: f45c2c850cfd4b5551aab3608bc23a315c220c4e29f808e7cfc7889858b3b0cf
4
+ data.tar.gz: 4b53ce7fb3a47bcda9f9720696efd76d0c92c66cecd9abb3f8b03e318968187c
5
5
  SHA512:
6
- metadata.gz: 645ae35f8ea0c1a8b300aae27412ac5d39429bc791e62b6831c4c04c47df80e81a45c5327079b4e202c62e20f084dca346a3bc9306370fdeaface121137d31b0
7
- data.tar.gz: 0cbf19b4b88fdc839c4598ac213681f6b86ef26809dcbf75b5cb238e848ad4919846affbabb204b326de79e881ca9f1cec0a5e400a3a792905f045f13924af77
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] == params[:session_token]
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
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.2.2"
2
+ VERSION = "5.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.2
4
+ version: 5.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure ProServe