-
-
{t('txt_device_management')}
-
- {t('txt_manage_device_sessions_and_30_day_totp_trusted_sessions')}
+
+
+
{t('txt_authorized_devices')}
+
+ {t('txt_manage_device_sessions_and_30_day_totp_trusted_sessions')}
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- {t('txt_authorized_devices')}
- {!!props.error && (
-
- {props.error}
-
-
- )}
-
+ {!!props.error && (
+
+ {props.error}
+
+
+ )}
+
@@ -233,7 +229,7 @@ export default function SecurityDevicesPage(props: SecurityDevicesPageProps) {
)}
-
+
diff --git a/webapp/src/components/SettingsPage.tsx b/webapp/src/components/SettingsPage.tsx
index 3fd7c20..0715a52 100644
--- a/webapp/src/components/SettingsPage.tsx
+++ b/webapp/src/components/SettingsPage.tsx
@@ -2,10 +2,9 @@ import { useEffect, useMemo, useState } from 'preact/hooks';
import { Clipboard, KeyRound, RefreshCw, ShieldCheck, ShieldOff, Trash2 } from 'lucide-preact';
import { copyTextToClipboard } from '@/lib/clipboard';
import qrcode from 'qrcode-generator';
-import type { AccountPasskeyCredential, AuthRequest, Profile } from '@/lib/types';
+import type { AccountPasskeyCredential, Profile } from '@/lib/types';
import { AVAILABLE_LOCALES, getLocale, setLocale, t, type Locale } from '@/lib/i18n';
import ConfirmDialog from '@/components/ConfirmDialog';
-import PendingAuthRequestsPanel from '@/components/PendingAuthRequestsPanel';
interface SettingsPageProps {
profile: Profile;
@@ -23,11 +22,6 @@ interface SettingsPageProps {
onCreateAccountPasskey: (name: string, masterPassword: string, directUnlock: boolean) => Promise
;
onEnableAccountPasskeyDirectUnlock: (id: string, masterPassword: string) => Promise;
onDeleteAccountPasskey: (id: string, masterPassword: string) => Promise;
- pendingAuthRequests: AuthRequest[];
- pendingAuthRequestsLoading: boolean;
- onRefreshPendingAuthRequests: () => Promise;
- onApproveAuthRequest: (request: AuthRequest) => Promise;
- onDenyAuthRequest: (request: AuthRequest) => Promise;
onLockTimeoutChange: (minutes: 0 | 1 | 5 | 15 | 30) => void;
onSessionTimeoutActionChange: (action: 'lock' | 'logout') => void;
onNotify?: (type: 'success' | 'error' | 'warning', text: string) => void;
@@ -515,15 +509,6 @@ export default function SettingsPage(props: SettingsPageProps) {
)}