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

This commit is contained in:
Claire 2024-02-22 14:39:42 +01:00 committed by GitHub
parent fbb07893b8
commit 28b666b0d5
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