FIX: Ensure enforce 2FA satisfied by security keys (PR #8316)

image

  • If a staff user created only a security key as their single 2FA option. they continued to be prompted to create a 2FA option because we only considered this condition satisfied if a TOTP was added.
  • The condition is now satisfied if TOTP OR security keys are enabled

GitHub

You’ve signed the CLA, martin-brennan. Thank you! This pull request is ready for review.

The title of this pull request changed from “Ensure enforce 2FA satisfied by security keys” to "FIX: Ensure enforce 2FA satisfied by security keys