MCPcopy Create free account
hub / github.com/dailydotdev/apps / betterAuthForgetPassword

Function betterAuthForgetPassword

packages/shared/src/lib/betterAuth.ts:457–466  ·  view source on GitHub ↗
(
  email: string,
  redirectTo: string,
)

Source from the content-addressed store, hash-verified

455};
456
457export const betterAuthForgetPassword = async (
458 email: string,
459 redirectTo: string,
460): Promise<{ status?: boolean; error?: string }> => {
461 return betterAuthPost(
462 'request-password-reset',
463 { email, redirectTo },
464 'Failed to send password reset email',
465 );
466};
467
468export const betterAuthResetPassword = async (
469 newPassword: string,

Callers 1

onSendEmailFunction · 0.90

Calls 1

betterAuthPostFunction · 0.85

Tested by

no test coverage detected