Fixes issue #80: Logging in can redirect to an invalid URL.

Patch from Christian Klein, thank you.
This commit is contained in:
Ross Poulton 2009-07-21 09:35:27 +00:00
parent 576150c40d
commit 36d160199e

View File

@ -12,7 +12,7 @@
<ul> <ul>
<li><a href='{% url helpdesk_home %}'>{% trans "Submit A Ticket" %}</a></li> <li><a href='{% url helpdesk_home %}'>{% trans "Submit A Ticket" %}</a></li>
<li><a href='{% url helpdesk_kb_index %}'>{% trans "Knowledgebase" %}</a></li> <li><a href='{% url helpdesk_kb_index %}'>{% trans "Knowledgebase" %}</a></li>
<li><a href='{% url login %}'>{% trans "Log In" %}</a></li> <li><a href='{% url login %}?next={% url helpdesk_dashboard %}'>{% trans "Log In" %}</a></li>
</ul> </ul>
</div> </div>
<div id='body'> <div id='body'>