mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Merge 1c645577d4 into 9c2c641531
This commit is contained in:
commit
aca098cbdb
2 changed files with 0 additions and 2 deletions
|
|
@ -23,7 +23,6 @@ AuthFlow::AuthFlow(AccountData* data, Action action) : Task(), m_data(data)
|
|||
if (action == Action::DeviceCode) {
|
||||
auto oauthStep = makeShared<MSADeviceCodeStep>(m_data);
|
||||
connect(oauthStep.get(), &MSADeviceCodeStep::authorizeWithBrowser, this, &AuthFlow::authorizeWithBrowserWithExtra);
|
||||
connect(this, &Task::aborted, oauthStep.get(), &MSADeviceCodeStep::abort);
|
||||
m_steps.append(oauthStep);
|
||||
} else {
|
||||
auto oauthStep = makeShared<MSAStep>(m_data, action == Action::Refresh);
|
||||
|
|
|
|||
|
|
@ -153,7 +153,6 @@ void MSADeviceCodeStep::abort()
|
|||
m_request->abort();
|
||||
}
|
||||
m_is_aborted = true;
|
||||
emit finished(AccountTaskState::STATE_FAILED_HARD, tr("Task aborted"));
|
||||
}
|
||||
|
||||
void MSADeviceCodeStep::startPoolTimer()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue