mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-09 23:08:05 -05:00
Ensure admin is running with manual lock strategy.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user