Automatically switch from open to approved registrations in absence of moderators (#29318)

This commit is contained in:
Claire 2024-02-21 18:45:06 +01:00 committed by GitHub
parent 08342ad40c
commit 2751acb6cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 109 additions and 0 deletions

View file

@ -61,6 +61,12 @@ class AdminMailer < ApplicationMailer
end
end
def auto_close_registrations
locale_for_account(@me) do
mail subject: default_i18n_subject(instance: @instance)
end
end
private
def process_params