[+] базовый функционал авторизации и выхода из фронтовой части

This commit is contained in:
rsgrinko committed 2023-07-24 20:27:46 +03:00
1 parent e8be354a1f
commit e52f73f8f8
9 files changed
+220 -13

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
{% extends 'layout.twig' %}
{% block title %}Авторизация{% endblock %}
{% block main %}
<h1>Авторизация</h1>
{% if failed %}
<div class="alert alert-error">Ошибка авторизации</div>
{% endif %}
<p>
<form action="/login/authorize" method="POST">
<input class="input" type="text" name="login" placeholder="Введите логин">
<input class="input" type="password" name="password" placeholder="Введите пароль">
<button class="button w100" type="submit">Войти</button>
</form>
</p>
{% endblock %}