mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +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:
parent
e1b4e2e034
commit
d8fe0f4199
12 changed files with 119 additions and 13 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue