summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/users.html
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/users.html')
-rw-r--r--ogcp/templates/users.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/users.html b/ogcp/templates/users.html
index 72f23f3..01b0a60 100644
--- a/ogcp/templates/users.html
+++ b/ogcp/templates/users.html
@@ -24,6 +24,7 @@
{% endblock %}
{% block commands %}
+{% if current_user.is_authenticated %}
<input class="btn btn-light {% block nav_user_add %}{% endblock %}" type="submit" value="{{ _('Add user') }}"
form="usersForm" formaction="{{ url_for('user_add_get') }}" formmethod="get">
<input class="btn btn-light {% block nav_user_edit %}{% endblock %}" type="submit" value="{{ _('Edit user') }}"
@@ -35,5 +36,6 @@
{{ _("Back") }}
</button>
{% endif %}
+{% endif %}
{% endblock %}