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
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ public struct WordPressAuthenticatorConfiguration {
148148
149149 /// If enabled, the prologue screen should hide the WPCom login CTA and show only the entry point to site address login.
150150 ///
151- let enableSiteAddressLoginOnly : Bool
151+ let enableSiteAddressLoginOnlyInPrologue : Bool
152152
153153 /// Designated Initializer
154154 ///
@@ -182,7 +182,7 @@ public struct WordPressAuthenticatorConfiguration {
182182 wpcomPasswordInstructions: String ? = nil ,
183183 skipXMLRPCCheckForSiteDiscovery: Bool = false ,
184184 useEnterEmailAddressAsStepValueForGetStartedVC: Bool = false ,
185- enableSiteAddressLoginOnly : Bool = false ) {
185+ enableSiteAddressLoginOnlyInPrologue : Bool = false ) {
186186
187187 self . wpcomClientId = wpcomClientId
188188 self . wpcomSecret = wpcomSecret
@@ -214,6 +214,6 @@ public struct WordPressAuthenticatorConfiguration {
214214 self . wpcomPasswordInstructions = wpcomPasswordInstructions
215215 self . skipXMLRPCCheckForSiteDiscovery = skipXMLRPCCheckForSiteDiscovery
216216 self . useEnterEmailAddressAsStepValueForGetStartedVC = useEnterEmailAddressAsStepValueForGetStartedVC
217- self . enableSiteAddressLoginOnly = enableSiteAddressLoginOnly
217+ self . enableSiteAddressLoginOnlyInPrologue = enableSiteAddressLoginOnlyInPrologue
218218 }
219219}
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ class LoginPrologueViewController: LoginViewController {
271271 style: primaryButtonStyle,
272272 onTap: loginTapCallback ( ) )
273273 let enterYourSiteAddressButton = StackedButton ( title: displayStrings. enterYourSiteAddressButtonTitle,
274- isPrimary: configuration. enableSiteAddressLoginOnly ,
274+ isPrimary: configuration. enableSiteAddressLoginOnlyInPrologue ,
275275 configureBodyFontForTitle: true ,
276276 accessibilityIdentifier: " Prologue Self Hosted Button " ,
277277 style: secondaryButtonStyle,
@@ -305,7 +305,7 @@ class LoginPrologueViewController: LoginViewController {
305305
306306 let showDivider = configuration. enableWPComLoginOnlyInPrologue == false &&
307307 configuration. enableSiteCreation == true &&
308- configuration. enableSiteAddressLoginOnly == false
308+ configuration. enableSiteAddressLoginOnlyInPrologue == false
309309 stackedButtonsViewController. setUpButtons ( using: buttons, showDivider: showDivider)
310310 setButtonViewControllerBackground ( )
311311 }
You can’t perform that action at this time.
0 commit comments