Merge pull request #6702 from betagouv/main

This commit is contained in:
Pierre de La Morinerie 2021-11-30 16:08:29 +01:00 committed by GitHub
commit 8befadf2d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
namespace :after_party do
desc 'Deployment task: populate_bypass_email_login'
task populate_bypass_email_login: :environment do
task populate_bypass_email_login_again: :environment do
user_ids = Flipper::Adapters::ActiveRecord::Gate
.where(feature_key: 'instructeur_bypass_email_login_token')
.pluck(:value)