Skip to content

Commit 83960f2

Browse files
authored
Add new support tag when using app passwords for jetpack sites (#16123)
2 parents 3cbee10 + 919437e commit 83960f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Settings/Help/SupportForm/SupportFormMetadataProvider.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ class SupportFormMetadataProvider {
5555
Constants.platformTag,
5656
site.isWordPressComStore ? Constants.wpComTag : nil,
5757
site.plan.isNotEmpty ? site.plan : nil,
58-
stores.isAuthenticatedWithoutWPCom ? Constants.authenticatedWithApplicationPasswordTag : nil
58+
stores.isAuthenticatedWithoutWPCom ? Constants.authenticatedWithApplicationPasswordTag : nil,
59+
stores.requestAuthenticationMode == .appPasswordsWithJetpack ? Constants.jetpackSiteUsingAppPasswords : nil
5960
].compactMap { $0 } + getIPPTags()
6061
}
6162

@@ -218,6 +219,7 @@ private extension SupportFormMetadataProvider {
218219
static let networkWiFi = "WiFi"
219220
static let networkWWAN = "Mobile"
220221
static let sourcePlatform = "mobile_-_woo_ios"
222+
static let jetpackSiteUsingAppPasswords = "jetpack_site_using_app_passwords"
221223
}
222224

223225
/// Payments extensions Slugs

0 commit comments

Comments
 (0)