]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/auth/complete.html
enabling the CSRF protection middleware and adding the {% csrf_token %} tag to the...
[osqa.git] / forum / skins / default / templates / auth / complete.html
index 5b293ebe41b75c30ac7d1f265c9ee89bf030a21a..79f10dcf27bf9b1729dd33cdb48f392cf1e157c6 100644 (file)
@@ -34,6 +34,7 @@
 
        <div class="login">
         <form name="fregister" action="" method="POST">
+            {% csrf_token %}
             {{ form1.next }}
             <div class="form-row-vertical margin-bottom">
                 <label for="id_username">{{ form1.username.label }}</label>
@@ -81,6 +82,7 @@
     {% if form2 %}
        <div class="login" style="display:none">
         <form name="fverify" action="{% url user_register %}" method="POST">
+            {% csrf_token %}
             {{ form2.next }}
                        <fieldset style="padding:10px">
                                <legend class="big">{% trans "Existing account" %}</legend>