From b9b428902f30306ef7521a724a0e8e6f0f8c55ee Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 16 Apr 2018 21:46:42 +0300 Subject: [PATCH] Support custom domains --- app/Models/User.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Models/User.php b/app/Models/User.php index d7504610c876..6302e9b6dd4a 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -136,6 +136,14 @@ class User extends Authenticatable return $this->account->isPro(); } + /** + * @return mixed + */ + public function isEnterprise() + { + return $this->account->isEnterprise(); + } + /** * @return mixed */