shellphone.app/app/features/auth/loaders/forgot-password.ts
2022-05-14 12:22:06 +02:00

12 lines
245 B
TypeScript

import type { LoaderFunction } from "@remix-run/node";
import { requireLoggedOut } from "~/utils/auth.server";
const loader: LoaderFunction = async ({ request }) => {
await requireLoggedOut(request);
return null;
};
export default loader;