mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +08:00
fix: token2login not working
This commit is contained in:
parent
eecb01c24e
commit
1116c7ef28
@ -144,7 +144,6 @@ class AuthController extends Controller
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 准备废弃
|
|
||||||
public function token2Login(Request $request)
|
public function token2Login(Request $request)
|
||||||
{
|
{
|
||||||
if ($request->input('token')) {
|
if ($request->input('token')) {
|
||||||
@ -154,7 +153,7 @@ class AuthController extends Controller
|
|||||||
} else {
|
} else {
|
||||||
$location = url($redirect);
|
$location = url($redirect);
|
||||||
}
|
}
|
||||||
return header('Location:' . $location);
|
return redirect()->to($location)->send();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->input('verify')) {
|
if ($request->input('verify')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user