X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/275dc6c6f5c92630c9a1fca0f1830ba543cd18b7..759c804d6c3b8db0ad99dcd5d155396b29ebedd7:/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>