From f0e10dc93f400e8ba979760a1c7af9d6e53cd1ef Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 20 Dec 2022 02:21:22 +0300 Subject: Do not use multipart forms where possible * Pass csrf token as parameter to multipart form --- src/main/resources/templates/views/settings_about.html | 3 +-- src/main/resources/templates/views/settings_main.html | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/main/resources/templates/views/settings_about.html b/src/main/resources/templates/views/settings_about.html index 94cd9058..846a3d11 100644 --- a/src/main/resources/templates/views/settings_about.html +++ b/src/main/resources/templates/views/settings_about.html @@ -1,8 +1,7 @@ {% extends "layouts/default" %} {% block content %}
-
- +

Full name:

Country:

URL:
diff --git a/src/main/resources/templates/views/settings_main.html b/src/main/resources/templates/views/settings_main.html index a0315244..c819177e 100644 --- a/src/main/resources/templates/views/settings_main.html +++ b/src/main/resources/templates/views/settings_main.html @@ -5,7 +5,7 @@ {%if not visitor.verified %}

Verify your account by adding email or social account

{% endif %} - +
Notification options @@ -35,7 +35,7 @@ {% endif %}
{% if jids | length > 0 %} - +
@@ -65,7 +65,7 @@ E-mail - +

Add account:
@@ -73,7 +73,7 @@

-
+

Your accounts:

@@ -91,7 +91,7 @@

{% if emails is not empty %} -
+

You can receive notifications to email:
Sent to