Separate username and signature truncation fields

This commit is contained in:
Ravi Khadiwala
2023-04-04 16:59:46 -05:00
committed by ravi-signal
parent e4da59c236
commit 7b331edcde
3 changed files with 15 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ public class SecureValueRecovery2Controller {
.builder(cfg.userAuthenticationTokenSharedSecret())
.withUserDerivationKey(cfg.userIdTokenSharedSecret())
.prependUsername(false)
.withTruncateLength(16)
.withDerivedUsernameTruncateLength(16)
.build();
}