devise_auth_proxy 0.1.20 → 0.1.21
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/Gemfile.lock +1 -1
- data/lib/devise_auth_proxy/helper.rb +1 -7
- data/lib/devise_auth_proxy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 534445c6cec839a905a3613b9176120f861c8ffa675480fe8d3bed6af578d7d1
|
|
4
|
+
data.tar.gz: 32d16d25d81b7fa809a3d0f4098cee4d1b503d02e02aa005a210c2ff9c359cb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c829539ca1cd28fcc88b6c22bdf246c893e08d4ffc6a53597556035c56f672aaa826ff5199542d7eb80587eeae910e4a459a0a3b5ad3251d5a1eace3b0e0cf4
|
|
7
|
+
data.tar.gz: 3097326e004414afb88e6eb2f45f2064e4914084e9001874cae9f4e72c9b838112e9e8ed5558eb5f984b5919fdb20f4bd42e366922ae220ccc3d189dff2f4d7c
|
data/Gemfile.lock
CHANGED
|
@@ -4,14 +4,8 @@ module DeviseAuthProxy
|
|
|
4
4
|
# Modify session controller after user log out.
|
|
5
5
|
# To redirect user to a custom url.
|
|
6
6
|
def after_sign_out_path_for(resource_or_scope)
|
|
7
|
-
DeviseAuthProxy.logout_url if
|
|
7
|
+
return DeviseAuthProxy.logout_url if DeviseAuthProxy.logout_url
|
|
8
8
|
super
|
|
9
9
|
end
|
|
10
|
-
|
|
11
|
-
private
|
|
12
|
-
|
|
13
|
-
def proxy_user_authenticated?
|
|
14
|
-
DeviseAuthProxy.proxy_user_id(request.env).present?
|
|
15
|
-
end
|
|
16
10
|
end
|
|
17
11
|
end
|