strongmind-auth 1.1.64 → 1.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6739778ac28a2ed608275b94977c08d75bd6128e96334743f7088b138090b67
4
- data.tar.gz: 62b1ea641bfd97ddf355c7ec04b5997f10a1216a6333fac823945535ad3bdaf1
3
+ metadata.gz: 99672f759fb0e10368ec62cf714ebd413a5bc4e393b6402990aa48d5b28395f8
4
+ data.tar.gz: 8d609c40544f337acd86b31e05bc02e43b6fa96ce3b714b245cf4b92821f937c
5
5
  SHA512:
6
- metadata.gz: def922cf00e5d09d9f359ea6e3bfb430e87313b387613b443065cb3f84a925939be916c0400965f6ce4ef31ad9076285eda9b56c1c7c8593fc099234ced1f2a0
7
- data.tar.gz: 7feb01fb200c51d86d884adf2d2270856d3fe74c4ce31b4f6585671b2d7dc17270fa7ad85257fc3196bb99d8e0fc58e2310ca5c818896d1b4b36d956f4cac5eb
6
+ metadata.gz: 1077f38ecda4ae206333c2a9fcdb4f9cfd188651309b66c530bf32981a660abaeef7179d1b33a446b0eee46122abbfd251f4028ad87769a8a9364e3d53ac9265
7
+ data.tar.gz: d9d6498fdae747f5e37f7f75344087d4a7ca1cd3442eb0da077469025f2cb7397573a70bf692b992d8e0e28b94f75ac6f7805e8ee4abfe5011f8477cc8278821
@@ -78,7 +78,7 @@ module JwtUtilities
78
78
 
79
79
  unless current_user.nil?
80
80
  tokens[:expires_in] = 1.hour.to_i if tokens[:expires_in].nil?
81
- Rails.cache.write(current_user&.uid, tokens)
81
+ Rails.cache.write(current_user&.uid, tokens, expires_in: tokens[:expires_in].seconds - 10.minutes.in_seconds)
82
82
  end
83
83
  end
84
84
  session_data[:refresh_token] = tokens[:refresh_token]
@@ -1,5 +1,5 @@
1
1
  module Strongmind
2
2
  module Auth
3
- VERSION = "1.1.64"
3
+ VERSION = "1.1.65"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.64
4
+ version: 1.1.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Belding