echocas-client 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,10 +15,10 @@ module CASClient
|
|
15
15
|
def filter(controller)
|
16
16
|
raise "Cannot use the CASClient filter because it has not yet been configured." if config.nil?
|
17
17
|
|
18
|
-
if
|
19
|
-
raise "Filtering more than once might lead to redirection loops ! Don't do it (called from #{caller}, previously from #{
|
18
|
+
if @@cas_filtered
|
19
|
+
raise "Filtering more than once might lead to redirection loops ! Don't do it (called from #{caller}, previously from #{@@cas_filtered})"
|
20
20
|
else
|
21
|
-
|
21
|
+
@@cas_filtered = caller
|
22
22
|
end
|
23
23
|
|
24
24
|
if @@fake_user
|
@@ -139,6 +139,7 @@ module CASClient
|
|
139
139
|
end
|
140
140
|
|
141
141
|
def configure(config)
|
142
|
+
@@cas_filtered = false
|
142
143
|
@@config = config
|
143
144
|
@@config[:logger] = RAILS_DEFAULT_LOGGER unless @@config[:logger]
|
144
145
|
@@client = CASClient::Client.new(config)
|
data/lib/casclient/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: echocas-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 3
|
10
|
+
version: 2.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Zukowski
|