Przeglądaj źródła

fixed back to admin

= 4 lat temu
rodzic
commit
dc62be4b9e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Http/Controllers/HomeController.php

+ 1 - 1
app/Http/Controllers/HomeController.php

@@ -527,7 +527,7 @@ class HomeController extends Controller
             $data = json_decode($apiResponse->getContents());
 
             if (!property_exists($data, 'success') || !$data->success) {
-                return redirect('/mc');
+                return redirect()->to(route('logout'));
             }