mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
FEATURE: Restrict link invites to email domain (#15211)
Allow multiple emails to redeem a link invite only if the email domain name matches the one specified in the link invite.
This commit is contained in:
7
db/migrate/20211207130646_add_domain_to_invites.rb
Normal file
7
db/migrate/20211207130646_add_domain_to_invites.rb
Normal file
@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddDomainToInvites < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :invites, :domain, :string
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user