Skip to content

Commit decbede

Browse files
authored
Move broker auth to opt out releases/2.0.0 (#606)
move broker auth to default or "opt out" after internal validations #605
1 parent 2aaa301 commit decbede

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CredentialProvider.Microsoft/Util/EnvUtil.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft. All rights reserved.
1+
// Copyright (c) Microsoft. All rights reserved.
22
//
33
// Licensed under the MIT license.
44

@@ -149,7 +149,7 @@ public static bool MsalFileCacheEnabled()
149149

150150
public static bool MsalAllowBrokerEnabled()
151151
{
152-
return GetEnabledFromEnvironment(MsalAllowBrokerEnvVar, RuntimeInformation.IsOSPlatform(OSPlatform.Windows));
152+
return GetEnabledFromEnvironment(MsalAllowBrokerEnvVar, defaultValue: true);
153153
}
154154

155155
public static IntPtr? GetMsalBrokerWindowHandle()

0 commit comments

Comments
 (0)