Add account restrictions, appeals, and admin moderation tools
This commit is contained in:
@@ -3,7 +3,7 @@ import { cookies } from "next/headers";
|
||||
import Link from "next/link";
|
||||
import { Header, Footer } from "@/components/Shell";
|
||||
import { PasswordForm } from "@/components/PasswordForm";
|
||||
import { authClient, user } from "@/lib/supabase";
|
||||
import { authClient, rawUser } from "@/lib/supabase";
|
||||
import { recoveryCookie, verifyRecoveryGrant } from "@/lib/password-recovery";
|
||||
export async function generateMetadata() {
|
||||
const { t } = await getI18n();
|
||||
@@ -12,7 +12,7 @@ export async function generateMetadata() {
|
||||
export default async function ResetPassword() {
|
||||
const { t } = await getI18n();
|
||||
const [account, jar, client] = await Promise.all([
|
||||
user(),
|
||||
rawUser(),
|
||||
cookies(),
|
||||
authClient(),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user