mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +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);
|
$request->session()->put('is_admin', true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$location = url('/#/' . $request->input('redirect') ? $request->input('redirect') : 'dashboard');
|
|
||||||
if (config('v2board.app_url')) {
|
if (config('v2board.app_url')) {
|
||||||
$location = config('v2board.app_url') . '/#/' . $request->input('redirect') ? $request->input('redirect') : 'dashboard';
|
$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);
|
header('Location:' . $location);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user