Merge branch 'release/v1.1.0' into feature/make-form

This commit is contained in:
Ilya Oleshko 2021-11-29 14:36:51 +03:00
commit 7a5fbcbc2a

View File

@ -673,10 +673,10 @@ namespace ASC.ApiSystem.Controllers
return true;
}
var data = string.Format("{0} {1} {2} {3} {4} {5}", model.PortalName, model.FirstName, model.LastName, model.Email, model.Phone, model.recaptchaType);
var data = string.Format("{0} {1} {2} {3} {4} {5}", model.PortalName, model.FirstName, model.LastName, model.Email, model.Phone, model.RecaptchaType);
/*** validate recaptcha ***/
if (!CommonMethods.ValidateRecaptcha(model.RecaptchaResponse, model.recaptchaType, clientIP))
if (!CommonMethods.ValidateRecaptcha(model.RecaptchaResponse, model.RecaptchaType, clientIP))
{
Log.DebugFormat("PortalName = {0}; Elapsed ms. ValidateRecaptcha error: {1} {2}", model.PortalName, sw.ElapsedMilliseconds, data);
sw.Stop();