Add ability to require approval when users sign up using specific email domains (#28468)
This commit is contained in:
parent
195b89d336
commit
dfdadb92e8
13 changed files with 84 additions and 16 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class REST::Admin::EmailDomainBlockSerializer < ActiveModel::Serializer
|
||||
attributes :id, :domain, :created_at, :history
|
||||
attributes :id, :domain, :created_at, :history, :allow_with_approval
|
||||
|
||||
def id
|
||||
object.id.to_s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue