Update project configuration and templates
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user