summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/login.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/login.tmpl b/templates/login.tmpl
index d8aaded..7638c07 100644
--- a/templates/login.tmpl
+++ b/templates/login.tmpl
@@ -5,6 +5,9 @@
#set error = $error or ''
<div class="error">$error</div>
<form method="post" action="${root}l">
+#if next
+ <input type="hidden" name="next" value="$next" />
+#end if
<p>username</p>
<p><input type="text" id="username" name="username" /></p>
<p>password</p>