blob: 9616b4da6f6207ec0de8941b2bc835ab2c818621 (
plain)
1
2
3
4
5
6
7
|
import type { ActionFunctionArgs } from "react-router";
import { logout } from "../.server/auth";
export async function action({ request }: ActionFunctionArgs) {
await logout(request);
return null;
}
|