strongmind-auth 1.1.66 → 1.1.70

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: c45bb71907ca288706595e13ca0cd0eca58f0a8570a5be8dd0d892a1a13f2c04
4
- data.tar.gz: ac2a2589b9c1bdd93c1722356dfe8c5b0111392fe6fffb89a7655b33ec77824e
3
+ metadata.gz: 62f26f042ed3981f261550a4d15685cb83d63c6f6140fe7ecfa232f4cb2594e1
4
+ data.tar.gz: f81421faeedb5e7fa3bf2f32336c18641cc40d65795f5d480f978d3bc38eacbc
5
5
  SHA512:
6
- metadata.gz: ec60735eb0cb370ad570e3c81c3e0473e0f60a47bd4d39719ee7d3bbea114340905ce376e1cd60d4321c878ea3172e14a8f5bad249e7a868987eee7e250933af
7
- data.tar.gz: 9547b19219e6b22f49ba4cf64b7e956d3f8ea42afa69c82d91b0dd64013414fd64f967a5a3fe44aa6251d39051314c5ef9bf1ae586dcbbced876b916bac7bdd8
6
+ metadata.gz: 17c6adf570d424c3a26ea007fce2373207c0992ce738107ce9b38ad0e094ff7e036d84e5484f24e5b8dfb415d33a9d7b1b6e8c5602b263919c8339dff691694e
7
+ data.tar.gz: '0310901e9e6618ca6ccb356d637a68231da2e321f92dac35d88994fab6123ed2299cdec7c2be7bedfd0145c48294aa11e032cb432a2d248f950a232c894208fc'
@@ -3,6 +3,6 @@ class LoginsController < ApplicationController
3
3
  skip_before_action :fetch_common_nav, raise: false
4
4
 
5
5
  def index
6
-
6
+ flash.clear
7
7
  end
8
8
  end
@@ -1,5 +1,5 @@
1
1
  module Strongmind
2
2
  module Auth
3
- VERSION = "1.1.66"
3
+ VERSION = "1.1.70"
4
4
  end
5
5
  end
@@ -76,7 +76,7 @@ module Strongmind
76
76
  def refresh_session
77
77
  session = Rails.cache.fetch(user.uid)
78
78
  auth_client.refresh_session(session:)
79
- Rails.cache.write(user.uid, session)
79
+ Rails.cache.write(user.uid, session, expires_in: session[:expires_in].to_i.seconds - 10.minutes)
80
80
  rescue PlatformSdk::Identity::ClientError => e
81
81
  handle_refresh_error(e)
82
82
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.66
4
+ version: 1.1.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Belding
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-04 00:00:00.000000000 Z
11
+ date: 2024-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails