refactor(ViewControllerBase): remvoe sanitzer

This commit is contained in:
2025-08-23 00:17:59 +02:00
parent d390802305
commit a080aaec95
3 changed files with 3 additions and 17 deletions

View File

@@ -26,7 +26,7 @@ public class TFARegController : ViewControllerBase
private readonly TFARegParams _params;
[Obsolete("Use MediatR")]
public TFARegController(ILogger<TFARegController> logger, HtmlSanitizer sanitizer, Cultures cultures, IStringLocalizer<Resource> localizer, IEnvelopeReceiverService erService, IAuthenticator authenticator, IReceiverService receiverService, IOptions<TFARegParams> tfaRegParamsOptions) : base(logger, sanitizer, cultures, localizer)
public TFARegController(ILogger<TFARegController> logger, Cultures cultures, IStringLocalizer<Resource> localizer, IEnvelopeReceiverService erService, IAuthenticator authenticator, IReceiverService receiverService, IOptions<TFARegParams> tfaRegParamsOptions) : base(logger, cultures, localizer)
{
_envRcvService = erService;
_authenticator = authenticator;
@@ -42,7 +42,6 @@ public class TFARegController : ViewControllerBase
{
try
{
envelopeReceiverId = _sanitizer.Sanitize(envelopeReceiverId);
(string? uuid, string? signature) = envelopeReceiverId.DecodeEnvelopeReceiverId();
if (uuid is null || signature is null)