root 5 years ago
parent
commit
6c8892a46c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Passport/LoginController.php

+ 1 - 1
app/Http/Controllers/Passport/LoginController.php

@@ -50,6 +50,6 @@ class LoginController extends Controller
         if (config('v2board.app_url')) {
             $location = config('v2board.app_url') . $request->input('redirect') ? $request->input('redirect') : 'dashboard';
         }
-        header('Location:' . config('v2board.app_url') . '/#/dashboard');
+        header('Location:' . $location);
     }
 }