refactor(Receiver): Entfernt TotpExpiration aus allen DTOs und Entitäten.

This commit is contained in:
Developer 02
2025-02-06 19:41:11 +01:00
parent 9cdb1409c0
commit fa36593b26
8 changed files with 3 additions and 16 deletions

View File

@@ -58,7 +58,6 @@ public class TFARegController : ViewControllerBase
// Generate QR code as base 64
rcv!.TotpSecretkey = _authenticator.GenerateTotpSecretKey();
rcv.TotpExpiration = DateTime.Now.AddMonths(1);
await _rcvService.UpdateAsync(rcv);
var totp_qr_64 = _authenticator.GenerateTotpQrCode(userEmail: rcv.EmailAddress, secretKey: rcv.TotpSecretkey).ToBase64String();