Skip to content

Commit c6537ff

Browse files
#1951403: [Test] Oauth/Device/SP login don't work anymore
1 parent 121490e commit c6537ff

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.core/src/com/microsoft/azuretools/core/handlers/SignInCommandHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private static Single<AuthMethodDetails> loginNonDeviceCodeSingle(AuthConfigurat
198198
}
199199
final AzureTask<?> currentTask = (AzureTask<?>) op;
200200
final AzureTask<AuthMethodDetails> task = new AzureTask<>(null, title, true,
201-
() -> doLogin(Optional.ofNullable(currentTask).map(t -> t.getMonitor()).orElse(null), auth));
201+
() -> doLogin(null, auth));
202202
return AzureTaskManager.getInstance().runInBackgroundAsObservable(task).toSingle();
203203
}
204204

Utils/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@
303303
<groupId>net.minidev</groupId>
304304
<artifactId>json-smart</artifactId>
305305
<version>2.4.7</version>
306-
<scope>test</scope>
307306
</dependency>
308307
<dependency> <!--CVE-2021-28165-->
309308
<!--com.github.tomakehurst:wiremock-->

0 commit comments

Comments
 (0)