fix(frontend): Resolve perpetual loading state on password reset (#10103)

- Fixes #10085

### Changes 🏗️

- Remove redirect from `sendResetEmail` server action

### Checklist 📋

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  - [x] Reset password form exits loading state after request completes
This commit is contained in:
Reinier van der Leer
2025-06-05 10:11:50 +01:00
committed by GitHub
parent 95137323f7
commit ef6ba3e84a

View File

@@ -38,8 +38,6 @@ export async function sendResetEmail(email: string, turnstileToken: string) {
console.error("Error sending reset email", error);
return error.message;
}
redirect("/reset_password");
},
);
}