Skip to content

Commit d5b706f

Browse files
committed
added reader for fake attributes
1 parent 4de27a9 commit d5b706f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/casclient/frameworks/rails/filter.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module CASClient
22
module Frameworks
33
module Rails
44
class Filter
5-
cattr_reader :config, :log, :client
5+
cattr_reader :config, :log, :client, :fake_user, :fake_extra_attribues
66

77
# These are initialized when you call configure.
88
@@config = nil
@@ -18,7 +18,7 @@ def filter(controller)
1818
if @@fake_user
1919
controller.session[client.username_session_key] = @@fake_user
2020
controller.session[:casfilteruser] = @@fake_user
21-
controller.session[client.extra_attributes_session_key] = @@fake_extra_attributes
21+
controller.session[client.extra_attributes_session_key] = @@fake_extra_attributes
2222
return true
2323
end
2424

0 commit comments

Comments
 (0)