Update project configuration and templates

This commit is contained in:
AVS
2026-08-05 16:56:06 +05:00
parent da6b107066
commit 85fa94ae92
7 changed files with 327 additions and 302 deletions
+3 -3
View File
@@ -44,11 +44,11 @@
</div>
<div class="form-group">
<label>Новый пароль</label>
<input type="password" name="new_password" required minlength="6">
<input type="password" name="new_password" required minlength="10">
</div>
<div class="form-group">
<label>Подтверждение пароля</label>
<input type="password" name="confirm_password" required>
<input type="password" name="confirm_password" required minlength="10">
</div>
<button type="submit" class="btn">Изменить пароль</button>
</form>
@@ -59,7 +59,7 @@
document.getElementById('logout').onclick = async (e) => {
e.preventDefault();
await fetch('/logout', { method: 'POST' });
window.location.href = '/login';
window.location.href = '/logtn';
};
document.getElementById('passwordForm').onsubmit = async (e) => {