After_party task to enable_secured_login for the stock
This commit is contained in:
parent
92bd382c64
commit
05b1c41616
1 changed files with 8 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
||||||
|
namespace :after_party do
|
||||||
|
desc 'Deployment task: enable_secured_login_for_all'
|
||||||
|
task enable_secured_login_for_all: :environment do
|
||||||
|
Gestionnaire.update_all(features: { "enable_email_login_token": true })
|
||||||
|
|
||||||
|
AfterParty::TaskRecord.create version: '20190627142239'
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue