refactor(Receiver): Entfernt TotpExpiration aus allen DTOs und Entitäten.
This commit is contained in:
@@ -173,7 +173,6 @@ public class HomeController : ViewControllerBase
|
||||
{
|
||||
return View("EnvelopeLocked")
|
||||
.WithData("CodeType", "authenticatorCode")
|
||||
.WithData("QRCodeExpiration", er_secret.Receiver?.TotpExpiration)
|
||||
.WithData("TfaRegDeadline", er_secret.Receiver?.TfaRegDeadline);
|
||||
}
|
||||
}
|
||||
@@ -200,7 +199,6 @@ public class HomeController : ViewControllerBase
|
||||
if (rcv.TotpSecretkey is null)
|
||||
{
|
||||
rcv.TotpSecretkey = _authenticator.GenerateTotpSecretKey();
|
||||
rcv.TotpExpiration = DateTime.Now.AddMonths(1);
|
||||
await _rcvService.UpdateAsync(rcv);
|
||||
}
|
||||
return await TFAViewAsync(auth.UserSelectSMS, er_secret, envelopeReceiverId);
|
||||
|
||||
Reference in New Issue
Block a user