Co-authored-by: Dmytro Hryshyn <dev.dmytroh@gmail.com> Co-authored-by: Benny Joo <sldisek783@gmail.com> Co-authored-by: zomars <zomars@me.com>
20 lines
572 B
TypeScript
20 lines
572 B
TypeScript
import ForgotPassword from "@pages/auth/forgot-password";
|
|
import { withAppDirSsr } from "app/WithAppDirSsr";
|
|
import { _generateMetadata } from "app/_utils";
|
|
import { WithLayout } from "app/layoutHOC";
|
|
|
|
import { getServerSideProps } from "@server/lib/forgot-password/getServerSideProps";
|
|
|
|
export const generateMetadata = async () => {
|
|
return await _generateMetadata(
|
|
(t) => t("reset_password"),
|
|
(t) => t("change_your_password")
|
|
);
|
|
};
|
|
|
|
export default WithLayout({
|
|
getLayout: null,
|
|
Page: ForgotPassword,
|
|
getData: withAppDirSsr(getServerSideProps),
|
|
})<"P">;
|