mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
ProcessLoginTask: drop usage of no-op method
this is no longer useful since 8.0.
This commit is contained in:
@ -33,7 +33,6 @@ use function base64_decode;
|
|||||||
use function igbinary_serialize;
|
use function igbinary_serialize;
|
||||||
use function igbinary_unserialize;
|
use function igbinary_unserialize;
|
||||||
use function openssl_error_string;
|
use function openssl_error_string;
|
||||||
use function openssl_free_key;
|
|
||||||
use function time;
|
use function time;
|
||||||
|
|
||||||
class ProcessLoginTask extends AsyncTask{
|
class ProcessLoginTask extends AsyncTask{
|
||||||
@ -158,8 +157,6 @@ class ProcessLoginTask extends AsyncTask{
|
|||||||
throw new VerifyLoginException($e->getMessage(), 0, $e);
|
throw new VerifyLoginException($e->getMessage(), 0, $e);
|
||||||
}
|
}
|
||||||
|
|
||||||
@openssl_free_key($signingKeyOpenSSL);
|
|
||||||
|
|
||||||
if($headers->x5u === self::MOJANG_ROOT_PUBLIC_KEY){
|
if($headers->x5u === self::MOJANG_ROOT_PUBLIC_KEY){
|
||||||
$this->authenticated = true; //we're signed into xbox live
|
$this->authenticated = true; //we're signed into xbox live
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user