fix(auth): вход сразу по логину, регистрацию отправлять при любом балансе (проверено)

This commit is contained in:
AidarKC
2026-04-26 18:13:37 +03:00
parent 3d5b5b2214
commit 3e10407afd
4 changed files with 5 additions and 16 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export function render({ navigate }) {
loginButton.className = 'primary-btn';
loginButton.type = 'button';
loginButton.textContent = 'Войти';
loginButton.addEventListener('click', () => navigate('login-view'));
loginButton.addEventListener('click', () => navigate('login-password-view'));
const registerButton = document.createElement('button');
registerButton.className = 'ghost-btn';