mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-26 00:46:44 -05:00
chore: replace body schema with signUpEmailBodySchema
This commit is contained in:
@@ -30,7 +30,7 @@ export const signUpEmail = <O extends BetterAuthOptions>() =>
|
||||
method: "POST",
|
||||
operationId: "signUpWithEmailAndPassword",
|
||||
use: [formCsrfMiddleware],
|
||||
body: z.record(z.string(), z.any()),
|
||||
body: signUpEmailBodySchema,
|
||||
metadata: {
|
||||
allowedMediaTypes: [
|
||||
"application/x-www-form-urlencoded",
|
||||
|
||||
Reference in New Issue
Block a user