From c36f0a991b81201a0227651b33b32fb5596d1188 Mon Sep 17 00:00:00 2001 From: Marco Ciotola <848222@stud.unive.it> Date: Thu, 7 Mar 2019 23:02:38 +0100 Subject: [PATCH] Fix csrf_token on perms_why --- helios_auth/templates/perms_why.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helios_auth/templates/perms_why.html b/helios_auth/templates/perms_why.html index 179d103..3f38fd1 100644 --- a/helios_auth/templates/perms_why.html +++ b/helios_auth/templates/perms_why.html @@ -13,7 +13,7 @@ this information, we unfortunately cannot help you vote. </p> <form method="POST" action=""> -<input type="hidden" value="{{csrf_token}}" /> +<input type="hidden" name="csrf_token" value="{{csrf_token}}" /> <input type="submit" value="OK, I understand, let's do this login thing." /><br /><br /> <a href="http://google.com">nope, get me out of here</a>. </form> -- GitLab