PM-24240: Remove email verification feature flag (#5605)

This commit is contained in:
David Perez
2025-07-28 15:45:45 -05:00
committed by GitHub
parent 867e2287dc
commit a70f441064
28 changed files with 36 additions and 2177 deletions

View File

@@ -30,7 +30,6 @@ sealed class FlagKey<out T : Any> {
*/
val activePasswordManagerFlags: List<FlagKey<*>> by lazy {
listOf(
EmailVerification,
CredentialExchangeProtocolImport,
CredentialExchangeProtocolExport,
RestrictCipherItemDeletion,
@@ -40,14 +39,6 @@ sealed class FlagKey<out T : Any> {
}
}
/**
* Data object holding the key for Email Verification feature.
*/
data object EmailVerification : FlagKey<Boolean>() {
override val keyName: String = "email-verification"
override val defaultValue: Boolean = false
}
/**
* Data object holding hte feature flag key for the Credential Exchange Protocol (CXP) import
* feature.

View File

@@ -8,10 +8,6 @@ class FlagKeyTest {
@Test
fun `Feature flags have the correct key name set`() {
assertEquals(
FlagKey.EmailVerification.keyName,
"email-verification",
)
assertEquals(
FlagKey.CredentialExchangeProtocolImport.keyName,
"cxp-import-mobile",
@@ -46,7 +42,6 @@ class FlagKeyTest {
fun `All feature flags have the correct default value set`() {
assertTrue(
listOf(
FlagKey.EmailVerification,
FlagKey.CredentialExchangeProtocolImport,
FlagKey.CredentialExchangeProtocolExport,
FlagKey.CipherKeyEncryption,