From 9c8a7a7af49c13c9171a0a151a605f8b7d45421c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Wed, 17 Jun 2020 11:14:04 +0300 Subject: [PATCH] fixed wizard enable/disable --- app/Http/Middleware/RedirectIfWizardNotCompleted.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/RedirectIfWizardNotCompleted.php b/app/Http/Middleware/RedirectIfWizardNotCompleted.php index 210f17e15..351842557 100644 --- a/app/Http/Middleware/RedirectIfWizardNotCompleted.php +++ b/app/Http/Middleware/RedirectIfWizardNotCompleted.php @@ -22,7 +22,7 @@ class RedirectIfWizardNotCompleted } // Check url - if (Str::startsWith($request->getPathInfo(), '/wizard')) { + if (Str::startsWith($request->getPathInfo(), '/wizard') || Str::startsWith($request->getPathInfo(), '/settings')) { return $next($request); }