2
0
Fork 0
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:
Dan Ungureanu 2021-12-08 17:06:57 +02:00 committed by GitHub
parent e1b4e2e034
commit d8fe0f4199
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 119 additions and 13 deletions

View file

@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddDomainToInvites < ActiveRecord::Migration[6.1]
def change
add_column :invites, :domain, :string
end
end