改进 超时时间
This commit is contained in:
parent
baf684dffe
commit
1079b153dd
@ -140,7 +140,7 @@ public function storeAuthRequest(Request $request): RedirectResponse
|
|||||||
|
|
||||||
$data['user'] = $request->user('web');
|
$data['user'] = $request->user('web');
|
||||||
|
|
||||||
Cache::put('auth_request:'.$request->input('token'), $data, 120);
|
Cache::put('auth_request:'.$request->input('token'), $data, 60);
|
||||||
|
|
||||||
return redirect()->route('index')->with('success', '登录请求已确认。');
|
return redirect()->route('index')->with('success', '登录请求已确认。');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user