Добавление заголовка страницы авторизации

This commit is contained in:
2024-11-07 18:39:13 +03:00
parent 5211ab58a2
commit 771946eae5
2 changed files with 1 additions and 1 deletions

View File

@@ -9,7 +9,6 @@ def auth():
return render_template('auth.html')
else:
data = request.form.to_dict()
print(data)
auth_data = auth_model(data)
if auth_data.status:
session.update({

View File

@@ -7,6 +7,7 @@
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
</head>
<body>
<h1>Авторизация</h1>
<div class="form">
<form action="" method="post" name="auth">
<label for="login">Логин: </label>