Comprehensive admin + user dashboards (production-ready)

This commit is contained in:
Leon Serfaty
2026-06-07 17:54:30 -04:00
parent 155507f21a
commit f033f00379
122 changed files with 7878 additions and 805 deletions
+3
View File
@@ -26,6 +26,9 @@ export function SignUpForm({ googleEnabled }: { googleEnabled: boolean }) {
password: String(form.get("password")),
});
if (error) {
// Accepted tradeoff (L8): the raw Better Auth message can reveal that an
// email is already registered (account enumeration). We keep the specific
// message for UX clarity; the signup endpoint is rate-limited server-side.
toast.error(error.message ?? "Could not create account");
setLoading(false);
return;