Browse Source

fixed back to admin

= 4 năm trước cách đây
mục cha
commit
dc62be4b9e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'));
             }