lib/lockdown/rules.rb in lockdown-0.8.1 vs lib/lockdown/rules.rb in lockdown-0.9.0
- old
+ new
@@ -23,9 +23,11 @@
@public_access = []
@protected_access = []
@options = {
:session_timeout => (60 * 60),
+ :who_did_it => :current_user_id,
+ :default_who_did_it => 1,
:logout_on_access_violation => false,
:access_denied_path => "/",
:successful_login_path => "/",
:subdirectory => nil,
:skip_db_sync_in => ["test"],