From 22003fc101052957ee73414b3ec850f49eaf2367 Mon Sep 17 00:00:00 2001 From: mohammad-alavi Date: Sun, 10 Oct 2021 12:08:05 +0330 Subject: [PATCH] extent from parent middleware --- .../Authentication/Middlewares/RedirectIfAuthenticated.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Containers/AppSection/Authentication/Middlewares/RedirectIfAuthenticated.php b/app/Containers/AppSection/Authentication/Middlewares/RedirectIfAuthenticated.php index fab5671dc..ad5b86499 100644 --- a/app/Containers/AppSection/Authentication/Middlewares/RedirectIfAuthenticated.php +++ b/app/Containers/AppSection/Authentication/Middlewares/RedirectIfAuthenticated.php @@ -2,13 +2,13 @@ namespace App\Containers\AppSection\Authentication\Middlewares; -use Apiato\Core\Abstracts\Middlewares\Middleware; +use App\Ship\Parents\Middlewares\Middleware as ParentMiddleware; use App\Ship\Providers\RouteServiceProvider; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; -class RedirectIfAuthenticated extends Middleware +class RedirectIfAuthenticated extends ParentMiddleware { /** * Handle an incoming request.