mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
The upload creates a passwordless account before it reads the file and deletes it again when the file is refused. The only audit row was written after a successful store, so a refused upload whose delete also failed left an account nobody could sign into and no record of where it came from. The account and its admin.user.create row (outcome "created") now commit together, and the discard writes admin.user.delete with outcome "deleted" or "failed", so a leftover account always has a trace. The runbook says how to remove one by hand.