mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-25 12:55:05 +00:00
Removes the existing "crack". Will be replaced by proper support of different account types.
This commit is contained in:
@@ -29,17 +29,3 @@ bool AuthSession::MakeOffline(QString offline_playername)
|
||||
status = PlayableOffline;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AuthSession::MakeCracked(QString offline_playername)
|
||||
{
|
||||
session = "-";
|
||||
// Filling session with dummy data
|
||||
client_token = "ff64ff64ff64ff64ff64ff64ff64ff64";
|
||||
access_token = "ff64ff64ff64ff64ff64ff64ff64ff64";
|
||||
// TODO: Fetch actual UUID's from Mojang API so they match with real ones
|
||||
uuid = QString(QCryptographicHash::hash(offline_playername.toLocal8Bit(), QCryptographicHash::Md5).toHex());
|
||||
|
||||
player_name = offline_playername;
|
||||
status = PlayableOffline;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@ struct User
|
||||
struct MULTIMC_LOGIC_EXPORT AuthSession
|
||||
{
|
||||
bool MakeOffline(QString offline_playername);
|
||||
bool MakeCracked(QString offline_playername);
|
||||
|
||||
QString serializeUserProperties();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user