fix: 调整刷新token的token返回字段

pull/487/head
lk3407105 2025-01-31 10:02:37 +08:00
parent 9bdf43e808
commit 5e071f3dcd
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ class Backend extends Controller
//验证Token
if (!Validate::make()->check(['__token__' => $token], ['__token__' => 'require|token'])) {
$this->error(__('Token verification error'), '', ['__token__' => $this->request->token()]);
$this->error(__('Token verification error'), '', ['token' => $this->request->token()]);
}
//刷新Token