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

@@ -372,11 +372,11 @@ export function Builder() {
</div>
<Switch
id="email-provider-forget-password"
checked={options.forgetPassword}
checked={options.requestPasswordReset}
onCheckedChange={(checked) => {
setOptions((prev) => ({
...prev,
forgetPassword: checked,
requestPasswordReset: checked,
}));
}}
/>