mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-06 13:31:18 +01:00
Add pin opt-out support to regV5.
This commit is contained in:
committed by
jeffrey-signal
parent
5b99c6681c
commit
7b5f7cd808
+3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user