aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/partial/message.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/views/partial/message.html')
-rw-r--r--src/main/resources/templates/views/partial/message.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/views/partial/message.html b/src/main/resources/templates/views/partial/message.html
index a41a3064..9a33c432 100644
--- a/src/main/resources/templates/views/partial/message.html
+++ b/src/main/resources/templates/views/partial/message.html
@@ -54,7 +54,7 @@
</span>
</a>
{% else %}
- <a href="/login" class="a-login msg-button">
+ <a href="/login?retpath={{ retpath | default('/') }}" class="a-login msg-button">
<span class="msg-button-icon">
<i data-icon="ei-heart" data-size="s"></i>
{% if msg.recommendations.size() > 0 %}
@@ -84,4 +84,4 @@
</a>
{% endif %}
</nav>
-</article> \ No newline at end of file
+</article>