Open a finished Rule from its Profile card, and drop it from the browser on Log out.

This commit is contained in:
adilallo committed 2026-11-22 17:47:46 -07:00
1 parent db1599123b
commit 942c7cc9de
17 files changed
+280 -14

No files matched your search

+2
View File
@@ -6,6 +6,7 @@ import {
internalError,
unauthorized,
} from "../../../../lib/server/responses";
import { clearGuestRuleClaimCookie } from "../../../../lib/server/guestRuleClaim";
import {
clearSessionCookie,
getSessionUser,
@@ -37,6 +38,7 @@ export const DELETE = apiRoute("user.me.delete", async () => {
}
await clearSessionCookie();
await clearGuestRuleClaimCookie();
return NextResponse.json({ ok: true });
});