strongmind-auth 1.1.109 → 1.1.114

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: 146ed93c0c8bf7dbe2e89d40ded7b296b6b9837898e5fa4cb5ff585554b2a952
4
- data.tar.gz: fc3c36b3a9068a31d114eed4c12b846e2bbf8b64fd2ed553d2c62fe42f62483a
3
+ metadata.gz: b54499ae588ab3e6caa39b411255c9e528a89a425acc21b4d5416dcf1b884158
4
+ data.tar.gz: 1622da4c1965d63dbec5b02c5b1b5cf4991e14ffbd02d6fc77fd7f97f76d8ac7
5
5
  SHA512:
6
- metadata.gz: c87a80912078481e0ffde87a1ba092b57a88cbb47532c7fd402e57a778dfad4feb91048eb5f831d86d0756374ceed4e32f214991def78d01cc8b08a8aa261ce1
7
- data.tar.gz: c7fb97f23269754f91b7ddddbbb128578bc9612572edece18555c864accc68388c9b8938b33780212022d8b7bffaf8d437c606d55b3af9871f758f863e338d24
6
+ metadata.gz: d336fb20cf9435f094a83be4a5b893e5aeee7200a97a36cf31f09d808710759ea990378df5211d81336ac11ffa4ce7208997e590951b8c1dcefe4be3ad888801
7
+ data.tar.gz: 53eea3b50215d27226a69157e34476895b14e2f6aaa3aab51b30d5d42a3cba134b3204fa0d226af40ff503291b676cc5646a3a0ecf9e9af7d30e7d201a4ca974
@@ -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
data/config/routes.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  Rails.application.routes.draw do
2
2
 
3
- return if defined? Rails::Generators
3
+ return if defined?(Rails::Generators) && !Rails.env.production?
4
4
 
5
5
  devise_for :users, controllers: {
6
6
  omniauth_callbacks: 'users/omniauth_callbacks',
@@ -1,5 +1,5 @@
1
1
  module Strongmind
2
2
  module Auth
3
- VERSION = "1.1.109"
3
+ VERSION = "1.1.114"
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.109
4
+ version: 1.1.114
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-19 00:00:00.000000000 Z
11
+ date: 2024-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails