Skip to content

Commit

Permalink
Merge pull request #1735 from vector-im/feature/bma/pinLockGracePeriod0
Browse files Browse the repository at this point in the history
Pin lock grace period set to 0
  • Loading branch information
bmarty authored Nov 3, 2023
2 parents befed29 + e0a9758 commit f37c0f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ data class LockScreenConfig(
val isPinMandatory: Boolean,

/**
* Some PINs are blacklisted.
* Some PINs are forbidden.
*/
val pinBlacklist: Set<String>,

Expand All @@ -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.
*/
Expand All @@ -72,7 +73,7 @@ object LockScreenConfigModule {
pinBlacklist = setOf("0000", "1234"),
pinSize = 4,
maxPinCodeAttemptsBeforeLogout = 3,
gracePeriod = 90.seconds,
gracePeriod = 0.seconds,
isStrongBiometricsEnabled = true,
isWeakBiometricsEnabled = true,
)
Expand Down
1 change: 1 addition & 0 deletions changelog.d/1732.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set lock grace period to 0.

0 comments on commit f37c0f4

Please sign in to comment.