After_party task to enable_secured_login for the stock

This commit is contained in:
simon lehericey 2019-06-27 16:33:51 +02:00 committed by Nicolas Bouilleaud
parent 92bd382c64
commit 05b1c41616

View file

@ -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