Преглед изворни кода

Fix redirect url in RedirectAuthenticatedPro middleware

Vijayakrishnan Krishnan пре 5 година
родитељ
комит
07eb4fb746
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Http/Middleware/RedirectAuthenticatedPro.php

+ 1 - 1
app/Http/Middleware/RedirectAuthenticatedPro.php

@@ -20,7 +20,7 @@ class RedirectAuthenticatedPro
         $appSession = AppSession::where('session_key', $sessionKey)->first();
 
         if($appSession && $appSession->is_active && $appSession->pro) {
-            return redirect()->route('home');
+            return redirect()->route('dashboard');
         }
 
         return $next($request);