From 534499e9722b173ab5e859920fffcd63d770468f Mon Sep 17 00:00:00 2001 From: Bilelz Date: Fri, 21 Oct 2022 10:15:01 +0200 Subject: [PATCH 1/2] feat(form): add required attribute --- templates/login.html | 4 ++-- templates/register.html | 4 ++-- templates/user_edit.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/login.html b/templates/login.html index 8acb77c..5903f67 100644 --- a/templates/login.html +++ b/templates/login.html @@ -3,8 +3,8 @@ {% block content %}
- - + +
Username
Password
Username
Password
diff --git a/templates/register.html b/templates/register.html index be15687..17d80aa 100644 --- a/templates/register.html +++ b/templates/register.html @@ -4,8 +4,8 @@ {%- if config.registration_enabled -%}
- - + +
Username
Password
Username
Password
{{ captcha }}
diff --git a/templates/user_edit.html b/templates/user_edit.html index 7101861..2243f80 100644 --- a/templates/user_edit.html +++ b/templates/user_edit.html @@ -13,8 +13,8 @@
- - + +
Old password
New password
Old password
New password
From eba22b24114dbe7ec20c8e7969abf33c66e78d8e Mon Sep 17 00:00:00 2001 From: Bilelz Date: Fri, 21 Oct 2022 10:16:37 +0200 Subject: [PATCH 2/2] feat(form): add required to captcha field --- templates/register.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/register.html b/templates/register.html index 17d80aa..5cb8a20 100644 --- a/templates/register.html +++ b/templates/register.html @@ -6,7 +6,7 @@ - +
Username
Password
{{ captcha }}
{{ captcha }}