chore: (auth) fix small cosmetic problem, now refresh /login page not send POST request instead a fresh loading auth page

Signed-off-by: UdoChudo <stream@udochudo.ru>
This commit is contained in:
2025-06-23 00:37:12 +05:00
parent d5f9d3be49
commit b296f786ec
2 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -84,7 +84,7 @@
<div id="formContent">
<!-- Форма входа -->
<form method="POST" action="{{ url_for('auth.login') }}">
<input type="text" id="username" class="fadeIn second form-control text-center" name="username" placeholder="Имя пользователя" required>
<input type="text" id="username" class="fadeIn second form-control text-center" name="username" value="{{ username|default('') }}" placeholder="Имя пользователя" required>
<input type="password" id="password" class="fadeIn third form-control text-center" name="password" placeholder="Пароль" required>
<input type="submit" class="fadeIn fourth btn btn-primary w-100 mt-3" value="Войти">
</form>