Changes
Build and Push Docker Images / build (push) Successful in 40s

This commit is contained in:
2026-05-12 11:16:21 +03:00
parent 19e3526430
commit 6470f7a9c5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ namespace Api.Controllers
return ValidationProblem(ModelState); return ValidationProblem(ModelState);
var userIp = HttpContext.Connection.RemoteIpAddress?.ToString(); var userIp = HttpContext.Connection.RemoteIpAddress?.ToString();
var verdict = await _captcha.VerifyAsync(req.CaptchaToken, userIp, "contact", ct); var verdict = await _captcha.VerifyAsync(req.CaptchaToken, userIp, "subscribe", ct);
if (!verdict.Success) if (!verdict.Success)
{ {
return BadRequest(new ErrorResponse { Error = "Captcha verification failed.", Code = "captcha_verification_failed" }); return BadRequest(new ErrorResponse { Error = "Captcha verification failed.", Code = "captcha_verification_failed" });
+1 -1
View File
@@ -657,7 +657,7 @@
if (window.grecaptcha && reCaptchaSiteKey) { if (window.grecaptcha && reCaptchaSiteKey) {
grecaptcha.ready(function () { grecaptcha.ready(function () {
grecaptcha.execute(reCaptchaSiteKey, { action: 'contact' }).then(postSubscribe); grecaptcha.execute(reCaptchaSiteKey, { action: 'subscribe' }).then(postSubscribe);
}); });
} else { } else {
$loader.hide(); $loader.hide();