summaryrefslogtreecommitdiff
path: root/static/forums
diff options
context:
space:
mode:
Diffstat (limited to 'static/forums')
-rw-r--r--static/forums/templates/user-login.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/forums/templates/user-login.html b/static/forums/templates/user-login.html
index a1951fe..21c4551 100644
--- a/static/forums/templates/user-login.html
+++ b/static/forums/templates/user-login.html
@@ -16,7 +16,9 @@
<label for="id_username">Password:</label>
{% render_field form.password class+="form-control" %}
</div>
-
+ {% if next %}
+ <input type="hidden" name="next" value="{{ next }}">
+ {% endif %}
<input class="btn btn-sm btn-primary" type="submit" value="Login">
{% endwith %}
</form>