mirror of
https://github.com/discourse/discourse.git
synced 2024-12-31 02:15:58 +08:00
528cfea079
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
|