lockdown 0.3.13 → 0.3.14
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/lib/lockdown/version.rb +1 -1
- data/lib/lockdown.rb +1 -1
- metadata +1 -1
data/History.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
== 0.3.14 2008-05-02
|
2
|
+
* Fixed: Session keys to use symbols. Wasn't correctly expiring the session.
|
3
|
+
|
1
4
|
== 0.3.13 2008-05-02
|
2
5
|
* Fixed: The users and user_groups controller templates needed user_groups_for_users and all_permissions (respectively) instance variables set if validation failed on update.
|
3
6
|
|
data/lib/lockdown/version.rb
CHANGED
data/lib/lockdown.rb
CHANGED
@@ -72,7 +72,7 @@ module Lockdown
|
|
72
72
|
include Lockdown::Helper
|
73
73
|
|
74
74
|
def nil_lockdown_values
|
75
|
-
|
75
|
+
[:expiry_time, :user_id, :user_name, :user_profile_id, :access_rights].each do |val|
|
76
76
|
session[val] = nil if session[val]
|
77
77
|
end
|
78
78
|
end
|