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 +4 -4
- data/app/controllers/concerns/strong_mind_nav.rb +3 -2
- data/lib/strongmind/auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ce428c5cd3b0cfcbe821adda407545d5cc79326b3e7d4e9d7832be23aa5af54
|
4
|
+
data.tar.gz: a652112283e2bb98e5135eb593cc1e0e8fd3d3f31403a413d6da10efd0ed6660
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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
|
-
|
100
|
+
session_token = session[:_csrf_token]
|
101
|
+
"user_#{user.uid}_#{session_token}"
|
101
102
|
end
|
102
103
|
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.
|
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-
|
11
|
+
date: 2024-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|