diff --git a/apps/web/components/ui/AuthContainer.tsx b/apps/web/components/ui/AuthContainer.tsx index 9da5b38c0f..605875bfc2 100644 --- a/apps/web/components/ui/AuthContainer.tsx +++ b/apps/web/components/ui/AuthContainer.tsx @@ -15,7 +15,7 @@ interface Props { export default function AuthContainer(props: React.PropsWithChildren) { return ( -
+
{props.showLogo && } @@ -28,7 +28,7 @@ export default function AuthContainer(props: React.PropsWithChildren) {
)}
-
+
{props.children}
{props.footerText}
diff --git a/apps/web/pages/auth/forgot-password/[id].tsx b/apps/web/pages/auth/forgot-password/[id].tsx index 36ca1c3511..d80ef07316 100644 --- a/apps/web/pages/auth/forgot-password/[id].tsx +++ b/apps/web/pages/auth/forgot-password/[id].tsx @@ -141,7 +141,6 @@ export default function Page({ requestId, isRequestExpired, csrfToken }: Props) ); } -Page.isThemeSupported = false; Page.PageWrapper = PageWrapper; export async function getServerSideProps(context: GetServerSidePropsContext) { const id = context.params?.id as string; diff --git a/apps/web/pages/auth/forgot-password/index.tsx b/apps/web/pages/auth/forgot-password/index.tsx index 750f86b996..a6fa28b361 100644 --- a/apps/web/pages/auth/forgot-password/index.tsx +++ b/apps/web/pages/auth/forgot-password/index.tsx @@ -126,8 +126,9 @@ export default function ForgotPassword({ csrfToken }: { csrfToken: string }) { />
@@ -337,7 +337,6 @@ const _getServerSideProps = async function getServerSideProps(context: GetServer }; }; -Login.isThemeSupported = false; Login.PageWrapper = PageWrapper; export const getServerSideProps = withNonce(_getServerSideProps); diff --git a/apps/web/pages/auth/logout.tsx b/apps/web/pages/auth/logout.tsx index 59a259ad2a..43990d6eff 100644 --- a/apps/web/pages/auth/logout.tsx +++ b/apps/web/pages/auth/logout.tsx @@ -57,7 +57,6 @@ export function Logout(props: Props) { ); } -Logout.isThemeSupported = false; Logout.PageWrapper = PageWrapper; export default Logout;