mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-25 16:36:34 -05: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