The solution to this problem was merged - FEATURE: better UI to manage 2fa by KrisKotlarek · Pull Request #19338 · discourse/discourse · GitHub
When the last authenticator is deleted, we disable 2fa. User is asked to confirm to avoid disabling 2fa by mistake:
