summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/hostbase/webtemplates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates/login.html')
-rw-r--r--src/lib/Server/Hostbase/hostbase/webtemplates/login.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/login.html b/src/lib/Server/Hostbase/hostbase/webtemplates/login.html
index 5a5650d22..e46ccc086 100644
--- a/src/lib/Server/Hostbase/hostbase/webtemplates/login.html
+++ b/src/lib/Server/Hostbase/hostbase/webtemplates/login.html
@@ -21,7 +21,11 @@
<input name="password" type="password">
<br />
<input type="submit" value="Login">
+ {% if next %}
<input type="hidden" name="next" value="{{ next }}" />
+ {% else %}
+ <input type="hidden" name="next" value="/hostbase/" />
+ {% endif %}
</form>
{% endif %}