mirror of https://gitee.com/karson/fastadmin.git
fix: 调整刷新token的token返回字段
parent
9bdf43e808
commit
5e071f3dcd
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue