diff --git a/resources/views/partials/menu-sidebar.twig b/resources/views/partials/menu-sidebar.twig
index f65cf7685c..f3487f6e8c 100644
--- a/resources/views/partials/menu-sidebar.twig
+++ b/resources/views/partials/menu-sidebar.twig
@@ -85,12 +85,12 @@
{% if true == featuringWebhooks %}
-
-
-
- {{ 'webhooks'|_ }}
-
-
+
+
+
+ {{ 'webhooks'|_ }}
+
+
{% else %}
@@ -230,10 +230,18 @@
-
- {% if 'remote_user_guard' != authGuard or '' != logoutUri %}
+ {% if 'web' == authGuard %}
+
+ {{ 'logout'|_ }}
+
+
+
+ {% endif %}
+ {% if 'remote_user_guard' == authGuard and '' != logoutUrl %}
+
+
{{ 'logout'|_ }}