]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/auth/signin.html
making the user edit url contain the user slug
[osqa.git] / forum / skins / default / templates / auth / signin.html
index a31054b6b1d425516bea4a84d86082c3c1f59599..5514cc52823ecdaed5a8922a1d8574f62d39381f 100644 (file)
@@ -27,7 +27,8 @@
         <p class="error">{{ msg }}</p>\r
     {% endif %}\r
     {% for provider in top_stackitem_providers %}\r
-        <form class="signin_form" method="POST" action="{% url auth_provider_signin provider=provider.id %}">\r
+        <form class="signin_form" method="POST" action="{% url auth_provider_signin provider=provider.id %}" accept-charset="utf-8">\r
+            {% csrf_token %}\r
             {% include provider.stack_item_template %}\r
             <input type="hidden" class="validate_email" name="validate_email" value="yes" />\r
         </form>\r
         {% endfor %}\r
     </div>\r
     <form name="signin_form" id="signin_form" class="signin_form" method="POST" action="">\r
+        {% csrf_token %}\r
         <div id="signin_form_slot"></div>\r
         <input type="hidden" class="validate_email" name="validate_email" value="yes" />\r
     </form>\r
     {% for provider in stackitem_providers %}\r
         <h3 class="or_label">{% trans 'Or...' %}</h3>\r
-        <form class="signin_form" method="POST" action="{% url auth_provider_signin provider=provider.id %}">\r
+        <form class="signin_form" method="POST" action="{% url auth_provider_signin provider=provider.id %}" accept-charset="utf-8">\r
+            {% csrf_token %}\r
             {% include provider.stack_item_template %}\r
             <input type="hidden" class="validate_email" name="validate_email" value="yes" />\r
         </form>\r
     {% endfor %}\r
     <h3 class="or_label">{% trans 'Or...' %}</h3>\r
     <form name="signin_form" id="dummy_form_unused" class="signin_form" method="POST" action="">\r
+        {% csrf_token %}\r
         <fieldset>\r
-            {% trans 'Click' %} <a href="{% url auth_request_tempsignin %}">{% trans 'here' %}</a> {% trans "if you're having troubles signing in." %}\r
+            {% trans 'Click' %} <a href="{% url auth_request_tempsignin %}">{% trans 'here' %}</a> {% trans "if you're having trouble signing in." %}\r
         </fieldset>\r
     </form>\r
     <script type="text/html" id="simple_form_template">\r