From 5f35a23756a7f59067ec7de1d382d5226ce3f3a6 Mon Sep 17 00:00:00 2001 From: Sergey Kozyrev Date: Wed, 29 May 2024 16:12:34 +0400 Subject: [PATCH] validationError --- Course/ImplementerApp/Views/Home/Register.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Course/ImplementerApp/Views/Home/Register.cshtml b/Course/ImplementerApp/Views/Home/Register.cshtml index 5ca8f0e..09bd80a 100644 --- a/Course/ImplementerApp/Views/Home/Register.cshtml +++ b/Course/ImplementerApp/Views/Home/Register.cshtml @@ -97,7 +97,7 @@ } // Валидация почты - var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/; + var emailPattern = /^[a-zA-Z0-9._-]+@@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/; if (!emailPattern.test(email)) { $('#emailError').text('Неверный формат почты.'); isValid = false;