Skip to content

Commit eff1bfa

Browse files
committed
Remove deauthenticate call when selecting support
1 parent 0cf2444 commit eff1bfa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WooCommerce/Classes/Authentication/PostSiteCredentialLoginChecker.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,8 @@ private extension PostSiteCredentialLoginChecker {
155155
}
156156
alert.addAction(retryAction)
157157
} else {
158-
let supportAction = UIAlertAction(title: Localization.contactSupport, style: .default) { [weak self] _ in
158+
let supportAction = UIAlertAction(title: Localization.contactSupport, style: .default) { _ in
159159
navigationController.popViewController(animated: true)
160-
self?.stores.deauthenticate()
161160
ServiceLocator.authenticationManager.presentSupport(from: navigationController, sourceTag: .loginSiteAddress)
162161
}
163162
alert.addAction(supportAction)

0 commit comments

Comments
 (0)