Browse Source

fixed back to admin

= 4 years ago
parent
commit
dc62be4b9e
1 changed files with 1 additions and 1 deletions
  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());
             $data = json_decode($apiResponse->getContents());
 
 
             if (!property_exists($data, 'success') || !$data->success) {
             if (!property_exists($data, 'success') || !$data->success) {
-                return redirect('/mc');
+                return redirect()->to(route('logout'));
             }
             }