Добавление заголовка страницы авторизации
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user