blob: 030bde067462eaa44dbe2f172ceb4a8b8e9da1b8 (
plain)
1
2
3
4
5
6
7
|
import type { ActionFunctionArgs } from "@remix-run/node";
import { authenticator } from "../.server/auth";
export async function action({ request }: ActionFunctionArgs) {
await authenticator.logout(request, { redirectTo: "/" });
return null;
}
|