summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-06-28 18:53:12 -0400
committerAamir Khan <syst3m.w0rm@gmail.com>2012-06-28 18:53:12 -0400
commit7fdcb2682af36aa9beb1e657b1d44682c7235f1a (patch)
tree6b0e4c2477eccc6f1883e84871f6b826e3e1dcb5 /templates
parent2bc6472446426abd97d0b01f02d0318e7d828d50 (diff)
Fix #2: After login user will be directed back to previous page
Diffstat (limited to 'templates')
-rw-r--r--templates/login.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html
index fc5d8b3..a137c97 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -8,6 +8,7 @@
<form action="" method="post" class="login mm_clear">
{% csrf_token %}
{{ form.as_p }}
+ <input type=hidden name=next value={{ next }}>
<div class="field">
<button class="btn btn-primary" type="submit">
{% trans "Login" %}