about summary refs log tree commit diff
path: root/app/models/invite.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/invite.rb')
-rw-r--r--app/models/invite.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/invite.rb b/app/models/invite.rb
index 6907c1f1d..b87a3b722 100644
--- a/app/models/invite.rb
+++ b/app/models/invite.rb
@@ -14,7 +14,7 @@
 #
 
 class Invite < ApplicationRecord
-  belongs_to :user, required: true
+  belongs_to :user
   has_many :users, inverse_of: :invite
 
   scope :available, -> { where(expires_at: nil).or(where('expires_at >= ?', Time.now.utc)) }