Browse Source

Update EmailVerification model

Daniel Supernault 6 years ago
parent
commit
4415530458
1 changed files with 5 additions and 0 deletions
  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);
+	}
 }