diff --git a/web/src/components/menu/AccountSettings.tsx b/web/src/components/menu/AccountSettings.tsx
index e5a367391..be05422b9 100644
--- a/web/src/components/menu/AccountSettings.tsx
+++ b/web/src/components/menu/AccountSettings.tsx
@@ -126,19 +126,21 @@ export default function AccountSettings({ className }: AccountSettingsProps) {
- {profile?.username && profile.username !== "anonymous" && (
-
- )}
+ {config?.auth?.enabled !== false &&
+ profile?.username &&
+ profile.username !== "anonymous" && (
+
+ )}
- {profile?.username && profile.username !== "anonymous" && (
-
- )}
+ {config?.auth?.enabled !== false &&
+ profile?.username &&
+ profile.username !== "anonymous" && (
+
+ )}