mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 06:33:07 +08:00

Allow multiple emails to redeem a link invite only if the email domain name matches the one specified in the link invite.
8 lines
152 B
Ruby
8 lines
152 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddDomainToInvites < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_column :invites, :domain, :string
|
|
end
|
|
end
|