mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix(AuthFlow): don't call MSADeviceCodeStep::abort twice
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
c7a7306e1b
commit
1c645577d4
1 changed files with 0 additions and 1 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue