Merge pull request #1735 from vector-im/feature/bma/pinLockGracePeriod0
Pin lock grace period set to 0
This commit is contained in:
commit
f37c0f459e
2 changed files with 4 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ data class LockScreenConfig(
|
|||
val isPinMandatory: Boolean,
|
||||
|
||||
/**
|
||||
* Some PINs are blacklisted.
|
||||
* Some PINs are forbidden.
|
||||
*/
|
||||
val pinBlacklist: Set<String>,
|
||||
|
||||
|
|
@ -56,6 +56,7 @@ data class LockScreenConfig(
|
|||
* Authentication with strong methods (fingerprint, some face/iris unlock implementations) is supported.
|
||||
*/
|
||||
val isStrongBiometricsEnabled: Boolean,
|
||||
|
||||
/**
|
||||
* Authentication with weak methods (most face/iris unlock implementations) is supported.
|
||||
*/
|
||||
|
|
@ -72,7 +73,7 @@ object LockScreenConfigModule {
|
|||
pinBlacklist = setOf("0000", "1234"),
|
||||
pinSize = 4,
|
||||
maxPinCodeAttemptsBeforeLogout = 3,
|
||||
gracePeriod = 90.seconds,
|
||||
gracePeriod = 0.seconds,
|
||||
isStrongBiometricsEnabled = true,
|
||||
isWeakBiometricsEnabled = true,
|
||||
)
|
||||
|
|
|
|||
1
changelog.d/1732.misc
Normal file
1
changelog.d/1732.misc
Normal file
|
|
@ -0,0 +1 @@
|
|||
Set lock grace period to 0.
|
||||
Loading…
Add table
Add a link
Reference in a new issue