strongmind-auth 1.1.138 → 1.1.142
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 +4 -4
- data/app/controllers/users/sessions_controller.rb +3 -3
- 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: 285c55e9de3ac83079fe636603534b725591b48ee91dd73fd3ddf456040ed2f0
|
|
4
|
+
data.tar.gz: 6f36438062533f4b83062a04fcdb976a1ac51227018dafdd8bb831729b88f095
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b049b9ced1a5e3898e22f512b73456e9ca9dfc562420b8d3a27de1ba58d0b20403a037bf16c9b8d26aae6974434cda1a440c121e3a557e579822c58cb218ecd
|
|
7
|
+
data.tar.gz: b973f2023815ddd688c345da9a7db8385c337e3d736bb8a80eefd7638efbdd1d7780217fac292b3c8c337cfa0b4c941f8df0b25f6e68eb7e1481991fcd5aae86
|
|
@@ -9,11 +9,11 @@ module Users
|
|
|
9
9
|
skip_before_action :verify_authenticity_token, only: :endsession
|
|
10
10
|
|
|
11
11
|
def login
|
|
12
|
-
redirect_to
|
|
12
|
+
redirect_to unauthenticated_root_path
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def new
|
|
16
|
-
redirect_to
|
|
16
|
+
redirect_to unauthenticated_root_path
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def endsession
|
|
@@ -38,7 +38,7 @@ module Users
|
|
|
38
38
|
def initiate_backchannel_logout
|
|
39
39
|
Rails.logger.info "[DEBUG] INITIATE BACKCHANNEL LOGOUT - User: #{current_user&.id}, Session: #{session.id}, Refresh Token: #{session[:refresh_token]}"
|
|
40
40
|
|
|
41
|
-
redirect_to
|
|
41
|
+
redirect_to unauthenticated_root_path and return unless current_user
|
|
42
42
|
|
|
43
43
|
if session[:refresh_token].blank? && current_user&.auth_token_cache.blank?
|
|
44
44
|
Rails.logger.error "[DEBUG] LOGOUT ISSUE DETECTED - User: #{current_user.id}, Session: #{session.id}, No tokens available"
|
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.142
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Team Belding
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|