Добавление нового типа пользователя + исправления из второй лабы

This commit is contained in:
Anton Kamalov
2024-11-04 21:01:39 +03:00
parent af6860446b
commit b0924ae0bc
10 changed files with 41 additions and 37 deletions

View File

@@ -13,6 +13,7 @@
<input type="text" name="login" required>
<label for="password">Пароль: </label>
<input type="password" name="password" required><br>
<p><input type="checkbox" name="internal">Внутренний пользователь</p>
<input type="submit" value="Вход">
</form>
</div>

View File

@@ -8,6 +8,6 @@
<body>
<h1>Сожалеем</h1>
<p>{{ error_message }}</p>
<p><a href="{{ url_for('auth_bp.auth') }}">Вернуться</a></p>
<a href="{{ url_for('index') }}"><button>На главную страницу</button></a>
</body>
</html>