diff --git a/frontend/src/pages/settings/SettingsPage.tsx b/frontend/src/pages/settings/SettingsPage.tsx index c77bb34..44f2393 100644 --- a/frontend/src/pages/settings/SettingsPage.tsx +++ b/frontend/src/pages/settings/SettingsPage.tsx @@ -273,6 +273,7 @@ function PasswordCard() { function TotpCard() { const qc = useQueryClient(); + const isDemo = useDemoMode(); const totpEnabled = useAuthStore(s => s.totpEnabled); const { setToken, token, userId, displayName } = useAuthStore(); @@ -346,10 +347,14 @@ function TotpCard() { {step === "idle" && !totpEnabled && (

Add an extra layer of security with an authenticator app.

+ {isDemo && ( +

2FA setup is disabled in demo mode.

+ )}