From eb78ba444eea2f6a55dfba83b6acf05843059d80 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 7 Jun 2024 11:29:08 +0800 Subject: [PATCH] 1 --- webapp/controller/UserController.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index c70ae526..6efab9ee 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -917,10 +917,11 @@ class UserController extends BaseAuthedController { $params = array( 'jwt' => $data['jwt'] ); + $url = LOGIN_URL + '?a=Login&c=verifyJwt'; $response = ''; - if (!phpcommon\HttpClient::get - (LOGIN_URL, - $params, + if (!phpcommon\HttpClient::postContent + ($url, + json_encode($params), $response)) { myself()->_rspErr(500, 'server internal error'); return;