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
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