Prevent deleting all SSH keys when 2FA on account is enabled

Issue #13815 open
Edwin Ho
created an issue

Scenario: User has existing SSH keys User enables two-step verification User deletes all SSH keys User could not access two-step verification page to disable 2FA.

It'd be great to prevent users from deleting all SSH keys, leaving at least one until two-step verification is disabled.