From fc7d359829ed6c6459797b89710afb94beb038aa Mon Sep 17 00:00:00 2001 From: Web-serfer Date: Tue, 5 May 2026 22:04:38 +0500 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=20=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7=20=D0=BE?= =?UTF-8?q?=D1=88=D0=B8=D0=B1=D0=BA=D0=B8=20=D0=B2=D0=B0=D0=BB=D0=B8=D0=B4?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D0=B8=20=D0=BF=D0=B0=D1=80=D0=BE=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=B4=20=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=D1=8C=D0=BD=D1=8B=D0=BC=20=D0=BF=D0=BE=D0=BB=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/auth/sign-up.astro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/auth/sign-up.astro b/frontend/src/pages/auth/sign-up.astro index cf44a5a..ff3d358 100644 --- a/frontend/src/pages/auth/sign-up.astro +++ b/frontend/src/pages/auth/sign-up.astro @@ -1089,7 +1089,11 @@ if (result.success) { authFooter.style.display = 'none'; } } else { - showError(emailInput, result.error || 'Ошибка регистрации'); + if (result.error && result.error.includes('Пароль')) { + showError(passwordInput, result.error); + } else { + showError(emailInput, result.error || 'Ошибка регистрации'); + } submitBtn.disabled = false; submitBtn.classList.remove('loading'); }