This commit is contained in:
MartinBraquet
2025-10-27 00:37:18 +01:00
parent 2f482e9afc
commit 476fe1602b

View File

@@ -5,7 +5,7 @@ import posthog from "posthog-js";
import {clearUserCookie} from "web/components/auth-context";
export async function deleteAccount(username: string) {
track('delete profile')
track('delete account')
await api('me/delete', {username})
await firebaseLogout()
clearUserCookie()