Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: disable neon auth verify email

Gabriel Stein6a411f8fa56a
diff --git a/electron-builder.json b/electron-builder.json
index c27f9a892..0afd66d49 100644
--- a/electron-builder.json
+++ b/electron-builder.json
@@ -98,16 +98,7 @@
],
"mac": {
"category": "public.app-category.productivity",
- "target": [
- {
- "target": "dmg",
- "arch": ["x64", "arm64"]
- },
- {
- "target": "zip",
- "arch": ["x64", "arm64"]
- }
- ],
+ "target": ["dmg", "zip"],
"icon": "src/assets/icon.icns",
"gatekeeperAssess": false,
"hardenedRuntime": true,
diff --git a/src/components/AuthenticationStep.tsx b/src/components/AuthenticationStep.tsx
index e02601473..4ee90ac05 100644
--- a/src/components/AuthenticationStep.tsx
+++ b/src/components/AuthenticationStep.tsx
@@ -205,6 +205,9 @@ export default function AuthenticationStep({
try {
if (authMode === "sign-up") {
+ // Set before signup — SDK may trigger isSignedIn before returning
+ needsVerificationRef.current = true;
+
const result = await authClient.signUp.email({
email: email.trim(),
password,
@@ -212,6 +215,7 @@ export default function AuthenticationStep({
});
if (result.error) {
+ needsVerificationRef.current = false;
if (
errorMessageIncludes(result.error.message, ["already exists", "already registered"])
) {
@@ -240,7 +244,6 @@ export default function AuthenticationStep({
}
}
- needsVerificationRef.current = true;
onNeedsVerification(email.trim());
}
} else {
diff --git a/src/lib/neonAuth.ts b/src/lib/neonAuth.ts
index 0de434bf6..83cb2e934 100644
--- a/src/lib/neonAuth.ts
+++ b/src/lib/neonAuth.ts
@@ -217,7 +217,7 @@ export async function signInWithSocial(provider: SocialProvider): Promise<{ erro
if (isElectron) {
const callbackURL = getElectronOAuthCallbackURL();
- const response = await fetch(`${NEON_AUTH_URL}/api/auth/sign-in/social`, {
+ const response = await fetch(`${NEON_AUTH_URL}/sign-in/social`, {
method: "POST",
headers: { "Content-Type": "application/json" },
credentials: "include",