Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove logout option, this is available in the main menu

Roland Geider42a364be027a
diff --git a/wger/core/templates/user/preferences.html b/wger/core/templates/user/preferences.html
index d1be7879e..1ef5ccf0b 100644
--- a/wger/core/templates/user/preferences.html
+++ b/wger/core/templates/user/preferences.html
@@ -28,10 +28,6 @@
{% trans "Options" %}
</button>
<div class="dropdown-menu">
- <a href="{% url 'core:user:logout' %}" class="dropdown-item">
- <span class="{% fa_class 'sign-out-alt' %}"></span>
- {% trans "Logout" %}
- </a>
<a href="{% url 'core:user:change-password' %}" class="wger-modal-dialog dropdown-item">
<span class="{% fa_class 'key' %}"></span>
{% trans "Change password" %}