]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/base.html
auth: Redirect the user to the page the started the login process from
[ipfire.org.git] / src / templates / base.html
index b251a1762d34cdc51c349361dc32070906a61e07..0105d90efe9949242825c6614550c41efc42eaea 100644 (file)
                                                                                </div>
                                                                        </div>
                                                                {% else %}
-                                                                       <a class="navbar-item is-tab" href="/login">
+                                                                       <a class="navbar-item is-tab" href="/login?next={{ request.path }}">
                                                                                <i class="fas fa-right-to-bracket" title="{{ _("Login") }}"></i>
                                                                        </a>
                                                                {% end %}