mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 12:27:43 +00:00
fix: nextjs demo
This commit is contained in:
@@ -32,6 +32,7 @@ export default function Component() {
|
||||
try {
|
||||
const res = await client.forgetPassword({
|
||||
email,
|
||||
redirectTo: "/reset-password",
|
||||
});
|
||||
// If the API call is successful, set isSubmitted to true
|
||||
setIsSubmitted(true);
|
||||
|
||||
@@ -9,6 +9,7 @@ export default async function Home() {
|
||||
"Passkeys",
|
||||
"Multi Factor",
|
||||
"Password Reset",
|
||||
"Email Verification",
|
||||
"Roles & Permissions",
|
||||
"Rate Limiting",
|
||||
"Session Management",
|
||||
|
||||
Reference in New Issue
Block a user