mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 17:55:14 +08:00
7977b09025
Do not send an activation email to users invited via email. They already confirmed their email address by clicking the invite link. Users invited via link will need to confirm their email address before they can login.
6 lines
156 B
Ruby
6 lines
156 B
Ruby
class AddViaEmailToInvites < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :invites, :via_email, :boolean, default: false, null: false
|
|
end
|
|
end
|