Ensure admin is running with manual lock strategy.

This commit is contained in:
José Valim
2011-12-01 10:13:24 +01:00
parent 4243791b47
commit b3034292f2
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ class CreateTables < ActiveRecord::Migration
t.encryptable
t.rememberable :use_salt => false
t.recoverable
t.lockable
t.lockable :lock_strategy => :none, :unlock_strateagy => :time
t.timestamps
end
end

View File

@@ -4,7 +4,7 @@ module SharedAdmin
included do
devise :database_authenticatable, :encryptable, :registerable,
:timeoutable, :recoverable, :rememberable, :lockable,
:unlock_strategy => :time
:unlock_strategy => :time, :lock_strategy => :none
end
end