{{define "title"}}Delete your account · MeshTender{{end}} {{define "header"}}

Delete your account?

{{end}} {{define "content"}} {{if .Error}}
{{.Error}}
{{end}}
{{if .Preview.Blocked}} {{/* Blocked: show only what must be resolved. Rendering the confirm form under a "you can't do this yet" banner just invites a click that will fail. */}}

Not yet — someone has to take over first

Your account can't be deleted while other people depend on it for administration. Once these are resolved, come back here and it'll go through.

{{if .Preview.LastSiteAdmin}} {{end}} {{if .Preview.OrgsBlocked}} {{end}}
{{template "icon-arrow-left" "me-1"}}Back to account {{else}}

What deleting removes

This deletes your account, your profile at /u/{{.User.Username}}, your sign-in methods, and the things below. It can't be undone, and you'll be signed out everywhere immediately.

{{if .Preview.Repeaters}}
Repeaters you own

These are deleted outright — with their documentation, maintenance history, command log, and everyone else's access to them. If a repeater is staying on the air, hand it to a steward instead; it keeps all of that and its public page address.

{{range .Preview.Repeaters}}
{{.Name}} {{if .Stewards}} Transfer to a steward {{else}} No stewards — share it with someone to hand it over instead {{end}}
{{end}}
{{end}} {{if .Preview.OrgsDeleted}}
Organizations deleted with your account

You're the only member of {{if eq (len .Preview.OrgsDeleted) 1}}this one{{else}}these{{end}}, so nothing is left behind:

    {{range .Preview.OrgsDeleted}}
  • {{.Name}}
  • {{end}}
{{end}} {{if .Preview.OrgsLeft}}
Organizations you'll simply leave

These carry on without you:

    {{range .Preview.OrgsLeft}}
  • {{.Name}}
  • {{end}}
{{end}} {{/* Each line is conditional: listing "0 passkeys" or access to "0 repeaters" reads as a bug, and padding the consequences with non-consequences makes the real ones easier to skim past. */}}
Also removed
    {{if .Preview.Passkeys}}
  • {{.Preview.Passkeys}} passkey{{if ne .Preview.Passkeys 1}}s{{end}}{{if .HasPassword}} and your password{{end}}
  • {{else if .HasPassword}}
  • Your password
  • {{end}} {{if .Preview.SharedWithUser}}
  • Your access to {{.Preview.SharedWithUser}} repeater{{if ne .Preview.SharedWithUser 1}}s{{end}} other people share with you
  • {{end}}
  • Your display name, bio, location, callsign, links, and email address

What stays

Commands you ran on other people's repeaters stay in those repeaters' logs, and maintenance notes you wrote stay in their history — recorded against the name you had at the time, with no link back to an account. Removing them would tear holes in records their owners rely on. Your username is held in reserve for 90 days so nobody can pick it up and inherit those mentions.

Confirm it's you

{{if .HasPassword}} {{/* Deliberately not `required`: a passkey holder verifies instead of typing, and browser validation would block that submit. The server accepts either proof and says which is missing. */}}
{{end}}
Cancel
{{if and .HasPasskeys (not .HasPassword)}} {{/* Passkey-only: there's no password to type, so the ceremony IS the confirmation. The button verifies, then submits the form above. */}}

Verify with your passkey to enable deletion.

{{else if .HasPasskeys}}

Or verify with a passkey instead of typing your password:

{{end}}
{{template "icon-arrow-left" "me-1"}}Back to account {{end}}
{{end}}