Add pin opt-out support to regV5.

This commit is contained in:
Greyson Parrelli
2026-06-17 14:03:29 -04:00
committed by jeffrey-signal
parent 5b99c6681c
commit 7b5f7cd808
14 changed files with 221 additions and 21 deletions
@@ -218,6 +218,9 @@ class AppRegistrationStorageController(private val context: Context) : StorageCo
data.registrationLockEnabled,
data.accountEntropyPool.isNotEmpty()
)
} else if (data.pinOptedOut) {
Log.i(TAG, "[commitRegistrationData] User opted out of creating a PIN. Applying opt-out.")
SvrRepository.optOutOfPin(rotateAep = false)
}
Unit