|
@ -516,7 +516,7 @@ class User < ApplicationRecord |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def invite_text_required? |
|
|
def invite_text_required? |
|
|
Setting.require_invite_text && !invited? && !external? && !bypass_invite_request_check? |
|
|
|
|
|
|
|
|
Setting.require_invite_text && !open_registrations? && !invited? && !external? && !bypass_invite_request_check? |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def trigger_webhooks |
|
|
def trigger_webhooks |
|
|