Fix password update (#71)

* Fix password update
* Use next or callback params for retro-compatibility
This commit is contained in:
Giancarlo Buomprisco
2024-10-12 05:09:34 +02:00
committed by GitHub
parent 2fe8fc0231
commit 25adc2d1e3
6 changed files with 80 additions and 9 deletions

View File

@@ -15,11 +15,13 @@ export const generateMetadata = async () => {
};
};
const Logo = () => <AppLogo href={''} />;
async function UpdatePasswordPage() {
await requireUserInServerComponent();
return (
<AuthLayoutShell Logo={AppLogo}>
<AuthLayoutShell Logo={Logo}>
<UpdatePasswordForm redirectTo={pathsConfig.app.home} />
</AuthLayoutShell>
);