X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/cb87c787916de7712a4f9fb638715e6185804711..aee39efde819f0381a7aa65bc32145d2709cf088:/project/templates/registration/login.html

diff --git a/project/templates/registration/login.html b/project/templates/registration/login.html
index 8bf89675..810bd4ec 100644
--- a/project/templates/registration/login.html
+++ b/project/templates/registration/login.html
@@ -8,7 +8,7 @@
 <form method="POST" action="{% url django.contrib.auth.views.login %}">
 {{ form.as_p }}
 <p><input type="submit" value="Login" /></p>
-<input type="hidden" name="next_page" value="{{ next_page }}" />
+<input type="hidden" name="next" value="{{ next }}" />
 </form>
 </div>