ui: only insert login dialog when not logged in

This commit is contained in:
undefined committed 2021-11-26 22:48:25 +08:00
1 parent 1458d3f13b
commit 7cdd542ed1
2 files changed
+2 -2

No files matched your search

@@ -10,5 +10,5 @@
</div>
{% include "partials/footer.html" %}
</div>
{% if UserContext %}{% include "partials/login_dialog.html" %}{% endif %}
{% if UserContext and not handler.user._id %}{% include "partials/login_dialog.html" %}{% endif %}
{% endblock %}