lockdown 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/lockdown.rb
CHANGED
@@ -14,18 +14,15 @@ Lockdown::System.configure do
|
|
14
14
|
# When current_user_id returns nil, this is the value to use
|
15
15
|
# options[:default_who_did_it] = 1
|
16
16
|
#
|
17
|
+
# Lockdown version < 0.9.0 set this to:
|
18
|
+
# options[:default_who_did_it] = Profile::System
|
19
|
+
#
|
17
20
|
# Should probably be something like:
|
18
21
|
# options[:default_who_did_it] = User::SystemId
|
19
22
|
#
|
20
23
|
# Set timeout to 1 hour:
|
21
24
|
# options[:session_timeout] = (60 * 60)
|
22
25
|
#
|
23
|
-
# Set default_creator_id. This is the value assigned to created_by and/or
|
24
|
-
# updated_by when no one is logged in. Think of it as the system id.
|
25
|
-
#
|
26
|
-
# Lockdown version < 0.9.0 set this to:
|
27
|
-
# options[:default_creator_id] = Profile::System
|
28
|
-
#
|
29
26
|
# Call method when timeout occurs (method must be callable by controller):
|
30
27
|
# options[:session_timeout_method] = :clear_session_values
|
31
28
|
#
|