Skip to content

Commit 10098bb

Browse files
Merge pull request #7972 from woocommerce/issue/7971-pass-signinsource
Pass signInSource while creating AccountCreationFormHostingController
2 parents 9ea8f44 + 3db4a28 commit 10098bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

WooCommerce/Classes/Authentication/Navigation Exceptions/NotWPAccountViewModel.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ private extension NotWPAccountViewModel {
120120
return
121121
}
122122

123-
let accountCreationController = AccountCreationFormHostingController(viewModel: .init()) { [weak self] in
123+
let accountCreationController = AccountCreationFormHostingController(
124+
viewModel: .init(),
125+
signInSource: .custom(source: StoreCreationCoordinator.Source.prologue.rawValue)
126+
) { [weak self] in
124127
guard let self else { return }
125128
self.launchStorePicker(from: navigationController)
126129
}

0 commit comments

Comments
 (0)