Offline mode can be used even when online.
Allow the user to pick a player name for offline mode. Big auth refactor. Now using session objects instead of the accounts themselves. Sessions only last for one instance start and hold all the auth and player data.
This commit is contained in:
@ -126,7 +126,7 @@ void AccountListDialog::addAccount(const QString& errMsg)
|
||||
|
||||
MojangAccountPtr account = MojangAccount::createFromUsername(username);
|
||||
ProgressDialog progDialog(this);
|
||||
auto task = account->login(password);
|
||||
auto task = account->login(nullptr, password);
|
||||
progDialog.exec(task.get());
|
||||
if(task->successful())
|
||||
{
|
||||
|
Reference in New Issue
Block a user