mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 12:27:44 +00:00
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:
@@ -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,
|
||||
}));
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user