mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 03:43:40 +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
|