1
This commit is contained in:
parent
563792fc6e
commit
eb78ba444e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user