From dea6f1d2834d25b308b1db05c893ba262c4e6b18 Mon Sep 17 00:00:00 2001 From: Louis Jeckel Date: Mon, 7 Sep 2020 09:51:10 +0200 Subject: [PATCH] disable test modes --- app/Http/Controllers/Controller.php | 8 ++++---- app/User.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index a0cae40..9f04701 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -13,10 +13,10 @@ class Controller extends BaseController public function __construct() { - if(config('app.env') === 'production') { - $this->middleware('auth'); - $this->middleware('early'); - } +// if(config('app.env') === 'production') { +// $this->middleware('auth'); +// $this->middleware('early'); +// } } } diff --git a/app/User.php b/app/User.php index 2d835ca..06c48a5 100644 --- a/app/User.php +++ b/app/User.php @@ -237,8 +237,8 @@ class User extends Authenticatable implements MustVerifyEmail */ public function scopeRecievesEmails(Builder $builder): void { - $builder->where('id', 1); -// $builder->hasActiveSubscription()->orWhere->isOnTrial(); +// $builder->where('id', 1); + $builder->hasActiveSubscription()->orWhere->isOnTrial(); } /** -- 2.39.5