mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
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:

committed by
GitHub

parent
add125aacf
commit
06b7c44593
@ -33,7 +33,7 @@ class Reviewable < ActiveRecord::Base
|
||||
end
|
||||
|
||||
class Action < Item
|
||||
attr_accessor :icon, :button_class, :label, :description, :confirm_message, :client_action
|
||||
attr_accessor :icon, :button_class, :label, :description, :confirm_message, :client_action, :require_reject_reason
|
||||
|
||||
def initialize(id, icon = nil, button_class = nil, label = nil)
|
||||
super(id)
|
||||
|
Reference in New Issue
Block a user