diff --git a/system/pages/polls.php b/system/pages/polls.php index 37372f25..1d334053 100644 --- a/system/pages/polls.php +++ b/system/pages/polls.php @@ -100,7 +100,7 @@ function getColorByPercent($percent) if(!$logged) { - echo 'You are not logged in. Log in to vote in polls.

'; + echo 'You are not logged in. Log in to vote in polls.

'; return; } diff --git a/system/templates/guilds.list.html.twig b/system/templates/guilds.list.html.twig index 80f170a0..7a4a7c86 100644 --- a/system/templates/guilds.list.html.twig +++ b/system/templates/guilds.list.html.twig @@ -114,7 +114,7 @@ {% else %} Before you can create a guild you must login.
-
+ {{ csrf() }} {% include('buttons.login.html.twig') %}
diff --git a/system/templates/guilds.view.html.twig b/system/templates/guilds.view.html.twig index 695d7464..a25d9570 100644 --- a/system/templates/guilds.view.html.twig +++ b/system/templates/guilds.view.html.twig @@ -215,7 +215,7 @@ {% if not logged %} -
+ {{ csrf() }} {{ include('buttons.login.html.twig') }}