tombstone gate all user paths; cleanup deletes late follower rows; spa self-delete to /; adr 0016 + purge comment
This commit is contained in:
@@ -133,7 +133,6 @@ function SettingsPage() {
|
||||
function DangerZone() {
|
||||
const { t } = useTranslation()
|
||||
const { logout } = useAuth()
|
||||
const navigate = useNavigate()
|
||||
const [open, setOpen] = useState(false)
|
||||
const del = useDeleteOwnAccount()
|
||||
|
||||
@@ -148,7 +147,8 @@ function DangerZone() {
|
||||
{
|
||||
onSuccess: () => {
|
||||
logout()
|
||||
navigate({ to: "/login" })
|
||||
// Full page load: the classic public home, not the SPA login.
|
||||
window.location.assign("/")
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user