There's some work on book page left.
[wolnelektury.git] / apps / wolnelektury_core / templates / piston / authorize_token.html
index 4e45207..87450a2 100755 (executable)
@@ -9,7 +9,8 @@
        <div class="normal-text">
     <p>{% blocktrans %}Confirm to authorize access to Wolne Lektury as user <strong>{{ user}}</strong>.{% endblocktrans %}</p>
 
-    <form action="{% url piston.authentication.oauth_user_auth %}" method="POST">
+    <form action="{% url 'piston.authentication.oauth_user_auth' %}" method="POST">
+    {% csrf_token %}
       {{ form.as_p }}
       <button type="submit">Confirm</button>
     </form>