Skip to content

Commit 82093c1

Browse files
Remove extra declaration and pass the boolean parameter value directly.
1 parent f68f23c commit 82093c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WooCommerce/Classes/Authentication/AuthenticationManager.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ class AuthenticationManager: Authentication {
6666
let isWPComMagicLinkShownAsSecondaryActionOnPasswordScreen = featureFlagService.isFeatureFlagEnabled(.loginMagicLinkEmphasisM2)
6767
let isSimplifiedLoginI1Enabled = ABTest.abTestLoginWithWPComOnly.variation != .control
6868
let isStoreCreationMVPEnabled = featureFlagService.isFeatureFlagEnabled(.storeCreationMVP)
69-
let isNativeJetpackSetupEnabled = true
7069
let isWPComLoginRequiredForSiteCredentialsLogin = !featureFlagService.isFeatureFlagEnabled(.applicationPasswordAuthenticationForSiteCredentialLogin)
7170
let configuration = WordPressAuthenticatorConfiguration(wpcomClientId: ApiCredentials.dotcomAppId,
7271
wpcomSecret: ApiCredentials.dotcomSecret,
@@ -95,7 +94,7 @@ class AuthenticationManager: Authentication {
9594
emphasizeEmailForWPComPassword: true,
9695
wpcomPasswordInstructions:
9796
AuthenticationConstants.wpcomPasswordInstructions,
98-
skipXMLRPCCheckForSiteDiscovery: isNativeJetpackSetupEnabled)
97+
skipXMLRPCCheckForSiteDiscovery: true)
9998

10099
let systemGray3LightModeColor = UIColor(red: 199/255.0, green: 199/255.0, blue: 204/255.0, alpha: 1)
101100
let systemLabelLightModeColor = UIColor(red: 0, green: 0, blue: 0, alpha: 1)

0 commit comments

Comments
 (0)