소스 검색

fixed back to admin

= 4 년 전
부모
커밋
dc62be4b9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'));
             }