[Fix #1907] set activation reminder delay to 3 days to allow administrateurs to activate their account with the original message after the weekend
This commit is contained in:
parent
a2bbf1b4d6
commit
dcdd431bc0
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ class Administrateurs::ActivateBeforeExpirationJob < ApplicationJob
|
|||
queue_as :cron
|
||||
|
||||
def perform(*args)
|
||||
Administrateur.inactive.where(created_at: 2.days.ago.all_day).each do |a|
|
||||
Administrateur.inactive.where(created_at: 3.days.ago.all_day).each do |a|
|
||||
a.remind_invitation!
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue