summaryrefslogtreecommitdiff
path: root/lib/authenticated_system.rb
diff options
context:
space:
mode:
authorsimon <simon@zagal.(none)>2009-02-08 23:54:29 +0100
committerhukl <hukl@eight.local>2009-02-15 20:22:04 +0100
commit654f1542cafb3a8fc6bcd559952ae1a14c825fc9 (patch)
treed4596c1a34d72495b473523774993a28128b6987 /lib/authenticated_system.rb
parent9f94a70c3e3d9bf766cb9663b0a904d30a190d85 (diff)
* regenerated the user fixtures with new site key, login tests work now
* removed some cookie related tests
Diffstat (limited to 'lib/authenticated_system.rb')
-rw-r--r--lib/authenticated_system.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/authenticated_system.rb b/lib/authenticated_system.rb
index 7b813f4..838b734 100644
--- a/lib/authenticated_system.rb
+++ b/lib/authenticated_system.rb
@@ -112,7 +112,6 @@ module AuthenticatedSystem
112 # Kill server-side auth cookie 112 # Kill server-side auth cookie
113 @current_user.forget_me if @current_user.is_a? User 113 @current_user.forget_me if @current_user.is_a? User
114 @current_user = false # not logged in, and don't do it for me 114 @current_user = false # not logged in, and don't do it for me
115 kill_remember_cookie! # Kill client-side auth cookie
116 session[:user_id] = nil # keeps the session but kill our variable 115 session[:user_id] = nil # keeps the session but kill our variable
117 # explicitly kill any other session variables you set 116 # explicitly kill any other session variables you set
118 end 117 end