diff --git a/src/frontend/src/components/appHeaderComponent/components/AccountMenu/index.tsx b/src/frontend/src/components/appHeaderComponent/components/AccountMenu/index.tsx
index 118714220ca..4892ae49691 100644
--- a/src/frontend/src/components/appHeaderComponent/components/AccountMenu/index.tsx
+++ b/src/frontend/src/components/appHeaderComponent/components/AccountMenu/index.tsx
@@ -126,9 +126,11 @@ export const AccountMenu = () => {
Logout
) : (
-
- Logout
-
+ !autoLogin && (
+
+ Logout
+
+ )
)}