mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
Demoting an admin counted every admin, pending deletion included, so after one admin deleted their account the other could step down and leave the instance with no admin who can sign in or undo the deletion. Both the demotion and an admin's own deletion now count the other admins not pending deletion, inside the transaction that makes the change, under one roster lock, so two at the same moment cannot each count the other.