X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3c0e373447323b5e33b273859e790a2054771afa..855ab0d921ca2b5d3ff99d787d8d14271dee5a4e:/src/wolnelektury/templates/piston/authorize_token.html

diff --git a/src/wolnelektury/templates/piston/authorize_token.html b/src/wolnelektury/templates/piston/authorize_token.html
index a76823843..e54f70136 100755
--- a/src/wolnelektury/templates/piston/authorize_token.html
+++ b/src/wolnelektury/templates/piston/authorize_token.html
@@ -11,10 +11,10 @@
       {% 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 'oauth_user_auth' %}" method="POST">
       {% csrf_token %}
       {{ form.as_p }}
-      <button type="submit">Confirm</button>
+      <button type="submit">{% trans "Confirm" %}</button>
     </form>
   </div>
 {% endblock %}