Browse Source

Update EmailVerification model

Daniel Supernault 6 năm trước cách đây
mục cha
commit
4415530458
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      app/EmailVerification.php

+ 5 - 0
app/EmailVerification.php

@@ -13,4 +13,9 @@ class EmailVerification extends Model
 
         return "{$base}{$path}";
     }
+
+	public function user()
+	{
+		return $this->belongsTo(User::class);
+	}
 }