strongmind-auth 1.1.107 → 1.1.111

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: 9fb08b31a5fa67f9ea7ea76871e6a7ebacf053bec0301b5dc769187db2cb9e77
4
- data.tar.gz: 9c0d495a487895e7abc6a950228eebd7c6def1917cf4e87ba6bd0fde9b5dc4f0
3
+ metadata.gz: 9ce428c5cd3b0cfcbe821adda407545d5cc79326b3e7d4e9d7832be23aa5af54
4
+ data.tar.gz: a652112283e2bb98e5135eb593cc1e0e8fd3d3f31403a413d6da10efd0ed6660
5
5
  SHA512:
6
- metadata.gz: dc4ea71c018cc9e30fdb3d6eec44e4c1f5c0edcf91b6ca9d0b8b167c586b411af87dff2356008c330cfb4d6e313413c58a2dd24a3b49fc705a5ea5ec7becaa22
7
- data.tar.gz: 522cbc63024c6f6aa8d8a885a3519bebb3a322dcfbe25fb88e36dded321aa91229a9f5d44b2160e2ac85132b0c5ea8d82ff2ddc4db72a12bcbb4d753d969daf8
6
+ metadata.gz: a172d22b509380c823ab9bc79422018d08ca2d1bb394bf09834f20c8763c27ee5127226dd27d639bc5ff9ceabb4893ec1f4ee209e4c3a60507e410d9590a6e97
7
+ data.tar.gz: c0d33a8b0aa9e1deaa4abd8c27d2b307bb26af88bb5928f3ad0a7e596d551d891d3193014d2a2cba6060d2da866729f14993042e1ba581f0b8128fef3ea7127d
@@ -19,7 +19,7 @@ module StrongMindNav
19
19
  @bottom_navbar_html = navbar[:bottom_navbar_html]
20
20
  @theme_css = navbar[:theme_css]
21
21
  rescue Strongmind::Exceptions::TokenNotFoundError, Strongmind::Exceptions::UserNotFoundError, Strongmind::Exceptions::RefreshTokenExpiredError => e
22
- Sentry.capture_exception(e) unless e.is_a? Strongmind::Exceptions::RefreshTokenExpiredError
22
+ Sentry.capture_exception(e) if e.is_a? Strongmind::Exceptions::UserNotFoundError
23
23
  Rails.logger.error(e)
24
24
  flash[:alert] = e.inspect if Rails.env.development? || Rails.env.test?
25
25
  @stop_redirect = true if Rails.env.development? || Rails.env.test?
@@ -97,6 +97,7 @@ module StrongMindNav
97
97
  end
98
98
 
99
99
  def navbar_cache_key_prefix(user)
100
- "user_#{user.uid}"
100
+ session_token = session[:_csrf_token]
101
+ "user_#{user.uid}_#{session_token}"
101
102
  end
102
103
  end
@@ -1,5 +1,5 @@
1
1
  module Strongmind
2
2
  module Auth
3
- VERSION = "1.1.107"
3
+ VERSION = "1.1.111"
4
4
  end
5
5
  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.107
4
+ version: 1.1.111
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-08-16 00:00:00.000000000 Z
11
+ date: 2024-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails