diff --git a/apps/pwa/src/routes/SetupPage.tsx b/apps/pwa/src/routes/SetupPage.tsx index fcb9c5b..92f7757 100644 --- a/apps/pwa/src/routes/SetupPage.tsx +++ b/apps/pwa/src/routes/SetupPage.tsx @@ -772,7 +772,7 @@ function Step3Credential({ onBack, onSuccess, onLocked, stepHeadingRef }: Step3P if (saveDisabled) return; setValidationState('idle'); setCredentialVerified(false); - completeMutation.mutate({ fastmailEmail: email, appPassword: password }); + completeMutation.mutate({ fastmailEmail: email.trim(), appPassword: password }); } function handleComplete() {