mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 08:18:42 +08:00
Allow multiple emails to redeem a link invite only if the email domain name matches the one specified in the link invite.
7 lines
152 B
Ruby
7 lines
152 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddDomainToInvites < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_column :invites, :domain, :string
|
|
end
|
|
end
|