BIT-2015 BIT-2016: Fix min number and min special chars not propagating (#1163)

This commit is contained in:
Caleb Derosier
2024-03-20 15:51:51 -06:00
committed by Álison Fernandes
parent 3394ff4648
commit 0791d787e0
3 changed files with 29 additions and 2 deletions

View File

@@ -522,8 +522,8 @@ class GeneratorViewModel @Inject constructor(
avoidAmbiguous = password.avoidAmbiguousChars,
minLowercase = null,
minUppercase = null,
minNumber = null,
minSpecial = null,
minNumber = password.minNumbers.toUByte(),
minSpecial = password.minSpecial.toUByte(),
)
val shouldSave = !password.isUserInteracting