mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 16:19:10 +08:00
update
This commit is contained in:
parent
b39ba5686a
commit
5732cd59f3
@ -46,9 +46,10 @@ class LoginController extends Controller
|
||||
$request->session()->put('is_admin', true);
|
||||
}
|
||||
}
|
||||
$location = url('/#/' . $request->input('redirect') ? $request->input('redirect') : 'dashboard');
|
||||
if (config('v2board.app_url')) {
|
||||
$location = config('v2board.app_url') . '/#/' . $request->input('redirect') ? $request->input('redirect') : 'dashboard';
|
||||
} else {
|
||||
$location = url('/#/' . $request->input('redirect') ? $request->input('redirect') : 'dashboard');
|
||||
}
|
||||
header('Location:' . $location);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user