From fe9c3982a1ee0d2d676260b9178c448acea0b374 Mon Sep 17 00:00:00 2001 From: Chris Eager Date: Tue, 21 Mar 2023 17:16:39 -0500 Subject: [PATCH] Remove prepended username from `/v2/backup/auth` response --- .../controllers/SecureValueRecovery2Controller.java | 1 + 1 file changed, 1 insertion(+) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureValueRecovery2Controller.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureValueRecovery2Controller.java index be4a163ab..2160a87c4 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureValueRecovery2Controller.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureValueRecovery2Controller.java @@ -27,6 +27,7 @@ public class SecureValueRecovery2Controller { return ExternalServiceCredentialsGenerator .builder(cfg.userAuthenticationTokenSharedSecret()) .withUserDerivationKey(cfg.userIdTokenSharedSecret()) + .prependUsername(false) .build(); }