This repository was archived by the owner on Feb 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +10
-19
lines changed
Unified Auth/View Related/Get Started Expand file tree Collapse file tree 5 files changed +10
-19
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ _None._
3030
3131-->
3232
33- ## Unreleased
33+ ## 6.2.0-beta.1
3434
3535### Breaking Changes
3636
@@ -42,7 +42,7 @@ _None._
4242
4343### Bug Fixes
4444
45- _ None. _
45+ - Remove the redundant and ambiguous config ` enableSiteCredentialLoginForJetpackSites ` . [ # 771 ]
4646
4747### Internal Changes
4848
Original file line number Diff line number Diff line change 2222 - SVProgressHUD (2.2.5)
2323 - SwiftLint (0.49.1)
2424 - UIDeviceIdentifier (2.2.0)
25- - WordPressAuthenticator (6.1.0 ):
25+ - WordPressAuthenticator (6.2.0-beta.1 ):
2626 - GoogleSignIn (~> 6.0.1)
2727 - Gridicons (~> 1.0)
2828 - "NSURL+IDN (= 0.4)"
@@ -94,7 +94,7 @@ SPEC CHECKSUMS:
9494 SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
9595 SwiftLint: 32ee33ded0636d0905ef6911b2b67bbaeeedafa5
9696 UIDeviceIdentifier: f33af270ba9045ea18b31d9aab88e42a0082ea67
97- WordPressAuthenticator: 9956582dabc0e98fc6f22ef960c52d8a3480b2d8
97+ WordPressAuthenticator: 022b4354e9de3e43b1dc763e5fc88fe65497bc67
9898 WordPressKit: 8e1c5a64645a59493a7316f38468ac036de9c79b
9999 WordPressShared: 0aa459e5257a77184db87805a998f447443c9706
100100 WordPressUI: 1cf47a3b78154faf69caa18569ee7ece1e510fa0
Original file line number Diff line number Diff line change 22
33Pod ::Spec . new do |s |
44 s . name = 'WordPressAuthenticator'
5- s . version = '6.1.0 '
5+ s . version = '6.2.0-beta.1 '
66
77 s . summary = 'WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps.'
88 s . description = <<-DESC
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