Chat is restricted to authenticated users

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-04-27 19:24:01 +02:00
parent 181bb86e49
commit d36e97fa2e
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 5 additions and 5 deletions

View File

@ -61,12 +61,12 @@
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% endif %}
<li class="nav-item active"> <li class="nav-item active">
<a class="nav-link" href="{% url "chat:chat" %}"> <a class="nav-link" href="{% url "chat:chat" %}">
<i class="fas fa-comments"></i> {% trans "Chat" %} <i class="fas fa-comments"></i> {% trans "Chat" %}
</a> </a>
</li> </li>
{% endif %}
{% if user.registration.is_admin %} {% if user.registration.is_admin %}
<li class="nav-item active"> <li class="nav-item active">
<a class="nav-link" href="{% url "admin:index" %}"><i class="fas fa-cog"></i> {% trans "Administration" %}</a> <a class="nav-link" href="{% url "admin:index" %}"><i class="fas fa-cog"></i> {% trans "Administration" %}</a>