aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/partial/navigation.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/views/partial/navigation.html')
-rw-r--r--src/main/resources/templates/views/partial/navigation.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/templates/views/partial/navigation.html b/src/main/resources/templates/views/partial/navigation.html
index 184c8f2b..159c3d21 100644
--- a/src/main/resources/templates/views/partial/navigation.html
+++ b/src/main/resources/templates/views/partial/navigation.html
@@ -33,7 +33,7 @@
<span class="icon-title desktop">{{ i18n("messages","link.postMessage") }}</span>
</a>
{% else %}
- <a class="a-login" href="/login" rel="nofollow">
+ <a class="a-login" href="/login?retpath={{ retpath | default('/') }}" rel="nofollow">
<i data-icon="ei-user" data-size="s"></i>
<span class="icon-title desktop">{{ i18n("messages", "link.Login") }}</span>
</a>