From 919437ebc201db96a9f2e9e805872dec9fd6b7fa Mon Sep 17 00:00:00 2001 From: Huong Do Date: Fri, 12 Sep 2025 13:37:39 +0700 Subject: [PATCH] Add new support tag when using app passwords for jetpack sites --- .../Help/SupportForm/SupportFormMetadataProvider.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WooCommerce/Classes/ViewRelated/Dashboard/Settings/Help/SupportForm/SupportFormMetadataProvider.swift b/WooCommerce/Classes/ViewRelated/Dashboard/Settings/Help/SupportForm/SupportFormMetadataProvider.swift index a3677f5fe64..698320b2002 100644 --- a/WooCommerce/Classes/ViewRelated/Dashboard/Settings/Help/SupportForm/SupportFormMetadataProvider.swift +++ b/WooCommerce/Classes/ViewRelated/Dashboard/Settings/Help/SupportForm/SupportFormMetadataProvider.swift @@ -55,7 +55,8 @@ class SupportFormMetadataProvider { Constants.platformTag, site.isWordPressComStore ? Constants.wpComTag : nil, site.plan.isNotEmpty ? site.plan : nil, - stores.isAuthenticatedWithoutWPCom ? Constants.authenticatedWithApplicationPasswordTag : nil + stores.isAuthenticatedWithoutWPCom ? Constants.authenticatedWithApplicationPasswordTag : nil, + stores.requestAuthenticationMode == .appPasswordsWithJetpack ? Constants.jetpackSiteUsingAppPasswords : nil ].compactMap { $0 } + getIPPTags() } @@ -218,6 +219,7 @@ private extension SupportFormMetadataProvider { static let networkWiFi = "WiFi" static let networkWWAN = "Mobile" static let sourcePlatform = "mobile_-_woo_ios" + static let jetpackSiteUsingAppPasswords = "jetpack_site_using_app_passwords" } /// Payments extensions Slugs