diff --git a/client/src/components/AuthOnboarding.tsx b/client/src/components/AuthOnboarding.tsx
index 8e02d43..7698080 100644
--- a/client/src/components/AuthOnboarding.tsx
+++ b/client/src/components/AuthOnboarding.tsx
@@ -273,6 +273,7 @@ export default function AuthOnboarding({ onAuthenticated, onOpenDemo }: AuthOnbo
setPinInput(e.target.value.replace(/\D/g, ''))}
disabled={loading}
required
+ autoComplete="new-password"
style={{ width: '100%', padding: '12px', boxSizing: 'border-box' }}
/>
@@ -322,6 +324,7 @@ export default function AuthOnboarding({ onAuthenticated, onOpenDemo }: AuthOnbo
setPinLoginInput(e.target.value.replace(/\D/g, ''))}
disabled={loading}
required
+ autoComplete="current-password"
style={{ width: '100%', padding: '12px', boxSizing: 'border-box' }}
/>
diff --git a/client/src/components/LogbookBackupPanel.tsx b/client/src/components/LogbookBackupPanel.tsx
index ddb4d2b..bd27d5b 100644
--- a/client/src/components/LogbookBackupPanel.tsx
+++ b/client/src/components/LogbookBackupPanel.tsx
@@ -58,6 +58,16 @@ export default function LogbookBackupPanel({ logbookId, onRestored }: LogbookBac
const [error, setError] = useState(null)
const [success, setSuccess] = useState(null)
+ const handleExportSubmit = async (e: React.FormEvent) => {
+ e.preventDefault()
+ await handleExport()
+ }
+
+ const handleImportSubmit = async (e: React.FormEvent) => {
+ e.preventDefault()
+ await handleRestore()
+ }
+
const handleExport = async () => {
setError(null)
setSuccess(null)
@@ -209,40 +219,45 @@ export default function LogbookBackupPanel({ logbookId, onRestored }: LogbookBac
{t('settings.backup_export_desc')}
-
-
- setExportPassphrase(e.target.value)}
- placeholder={t('settings.backup_passphrase_placeholder')}
- autoComplete="new-password"
- disabled={exporting}
- />
-
-
-
- setExportConfirm(e.target.value)}
- autoComplete="new-password"
- disabled={exporting}
- />
-
-
+