@@ -32,11 +32,6 @@ class LoginPrologueViewController: LoginViewController {
3232 private let configuration = WordPressAuthenticator . shared. configuration
3333 private let style = WordPressAuthenticator . shared. style
3434
35- private lazy var storedCredentialsAuthenticator = StoredCredentialsAuthenticator ( onCancel: { [ weak self] in
36- // Since the authenticator has its own flow
37- self ? . tracker. resetState ( )
38- } )
39-
4035 /// We can't rely on `isMovingToParent` to know if we need to track the `.prologue` step
4136 /// because for the root view in an App, it's always `false`. We're relying this variiable
4237 /// instead, since the `.prologue` step only needs to be tracked once.
@@ -116,11 +111,6 @@ class LoginPrologueViewController: LoginViewController {
116111 } else {
117112 tracker. set ( step: . prologue)
118113 }
119-
120- // Only enable auto fill if WPCom login is available
121- if configuration. enableSiteAddressLoginOnlyInPrologue == false {
122- showiCloudKeychainLoginFlow ( )
123- }
124114 }
125115
126116 override func viewWillDisappear( _ animated: Bool ) {
@@ -143,19 +133,6 @@ class LoginPrologueViewController: LoginViewController {
143133 setButtonViewMargins ( forWidth: size. width)
144134 }
145135
146- // MARK: - iCloud Keychain Login
147-
148- /// Starts the iCloud Keychain login flow if the conditions are given.
149- ///
150- private func showiCloudKeychainLoginFlow( ) {
151- guard WordPressAuthenticator . shared. configuration. enableUnifiedAuth,
152- let navigationController = navigationController else {
153- return
154- }
155-
156- storedCredentialsAuthenticator. showPicker ( from: navigationController)
157- }
158-
159136 private func configureButtonVC( ) {
160137 guard configuration. enableUnifiedAuth else {
161138 buildPrologueButtons ( )
0 commit comments