fix: rename forgetPassword APIs to requestPasswordReset (#2947)

* fix: rename  to

* Update demo/nextjs/app/(auth)/forget-password/page.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Bereket Engida
2025-06-07 16:28:47 -07:00
committed by GitHub
parent db2c0d0c8a
commit eaf80cf945
17 changed files with 240 additions and 35 deletions

View File

@@ -22,7 +22,7 @@ export default function CodeTabs() {
? `emailAndPassword: {
enabled: true,
${
options.forgetPassword
options.requestPasswordReset
? `async sendResetPassword(data, request) {
// Send an email to the user with a link to reset their password
},`