mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 19:52:11 +08:00

When invited by email, users will receive an invite URL which contains a token. If that token is present when the invite is redeemed, their account will be automatically activated.
8 lines
156 B
Ruby
8 lines
156 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddTokenToInvites < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_column :invites, :email_token, :string
|
|
end
|
|
end
|