From 10cd71a6630ffec91b43a26a6d685b66c5836a6a Mon Sep 17 00:00:00 2001 From: slawkens Date: Mon, 9 Jun 2025 21:18:42 +0200 Subject: [PATCH] Add missing csrf() into account manage actions --- .../tibiacom/account.management.html.twig | 104 ++++++++++-------- 1 file changed, 58 insertions(+), 46 deletions(-) diff --git a/templates/tibiacom/account.management.html.twig b/templates/tibiacom/account.management.html.twig index 5125f3ed..7d8cf37c 100644 --- a/templates/tibiacom/account.management.html.twig +++ b/templates/tibiacom/account.management.html.twig @@ -11,13 +11,14 @@ - - - + - - + + +
+
+ + {{ csrf() }} {{ include('buttons.logout.html.twig') }} -
@@ -59,13 +60,14 @@
- - - + - - + + +
+
+ + {{ csrf() }} {{ include('buttons.register_account.html.twig') }} -
@@ -94,13 +96,14 @@
- - - + - - + + +
+
+ + {{ csrf() }} {{ include('buttons.edit.html.twig') }} -
@@ -177,26 +180,29 @@ - - - + - - + + +
+
+ + {{ csrf() }} {{ include('buttons.change_password.html.twig') }} -
- - - + - - + + +
+
+ + {{ csrf() }} + {{ include('buttons.change_email.html.twig') }} -
@@ -204,13 +210,14 @@ {% if recovery_key is empty %} - - - + - - + + +
+
+ + {{ csrf() }} {{ include('buttons.register_account.html.twig') }} -
{% endif %} @@ -258,13 +265,14 @@ - - - + - - + + +
+
+ + {{ csrf() }} {{ include('buttons.edit.html.twig') }} -
@@ -398,8 +406,9 @@ - @@ -410,8 +419,9 @@
+
+ {{ csrf() }} {{ include('buttons.create_character.html.twig') }}
- @@ -423,8 +433,9 @@
+
+ {{ csrf() }} {{ include('buttons.change_name.html.twig') }}
- @@ -436,8 +447,9 @@
+
+ {{ csrf() }} {{ include('buttons.change_sex.html.twig') }}
-
+
+ {{ csrf() }} {{ include('buttons.delete_character.html.twig') }}