FEATURE: reason to reject user signup (#11700)

Feature for `Must Approve Users` setup. When a user is rejected, a staff member can optionally set a reason for audit purposes. In addition, feedback email can be sent to the user.

Meta: https://meta.discourse.org/t/account-rejection-email/103112/8
This commit is contained in:
Krzysztof Kotlarek
2021-01-15 09:43:26 +11:00
committed by GitHub
parent add125aacf
commit 06b7c44593
18 changed files with 178 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddRejectReasonToReviewables < ActiveRecord::Migration[6.0]
def change
add_column :reviewables, :reject_reason, :text
end
end