This repository was archived by the owner on Feb 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
Unified Auth/View Related/Get Started Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -174,11 +174,6 @@ public struct WordPressAuthenticatorConfiguration {
174174 ///
175175 let enableSiteAddressLoginOnlyInPrologue : Bool
176176
177- /// If enabled, the email login screen should not hide the site credential login CTA.
178- /// This is `true` by default.
179- ///
180- let enableSiteCredentialLoginForJetpackSites : Bool
181-
182177 /// Designated Initializer
183178 ///
184179 public init ( wpcomClientId: String ,
@@ -215,7 +210,6 @@ public struct WordPressAuthenticatorConfiguration {
215210 enableManualErrorHandlingForSiteCredentialLogin: Bool = false ,
216211 useEnterEmailAddressAsStepValueForGetStartedVC: Bool = false ,
217212 enableSiteAddressLoginOnlyInPrologue: Bool = false ,
218- enableSiteCredentialLoginForJetpackSites: Bool = true ,
219213 googleLoginWithoutSDK: Bool = false
220214 ) {
221215
@@ -254,6 +248,5 @@ public struct WordPressAuthenticatorConfiguration {
254248 self . enableManualErrorHandlingForSiteCredentialLogin = enableManualErrorHandlingForSiteCredentialLogin
255249 self . useEnterEmailAddressAsStepValueForGetStartedVC = useEnterEmailAddressAsStepValueForGetStartedVC
256250 self . enableSiteAddressLoginOnlyInPrologue = enableSiteAddressLoginOnlyInPrologue
257- self . enableSiteCredentialLoginForJetpackSites = enableSiteCredentialLoginForJetpackSites
258251 }
259252}
Original file line number Diff line number Diff line change @@ -810,13 +810,11 @@ private extension GetStartedViewController {
810810 accessibilityIdentifier: ButtonConfiguration . Continue. accessibilityIdentifier,
811811 onTap: handleSubmitButtonTapped)
812812
813- if configuration. enableSiteCredentialLoginForJetpackSites {
814- // Setup Sign in with site credentials button
815- buttonViewController. setupBottomButton ( attributedTitle: WPStyleGuide . formattedSignInWithSiteCredentialsString ( ) ,
816- isPrimary: false ,
817- accessibilityIdentifier: ButtonConfiguration . SignInWithSiteCredentials. accessibilityIdentifier,
818- onTap: handleSiteCredentialsButtonTapped)
819- }
813+ // Setup Sign in with site credentials button
814+ buttonViewController. setupBottomButton ( attributedTitle: WPStyleGuide . formattedSignInWithSiteCredentialsString ( ) ,
815+ isPrimary: false ,
816+ accessibilityIdentifier: ButtonConfiguration . SignInWithSiteCredentials. accessibilityIdentifier,
817+ onTap: handleSiteCredentialsButtonTapped)
820818 }
821819
822820 func configureButtonViewControllerWithoutSocialLogin( ) {
You can’t perform that action at this time.
0 commit comments