Group 2FA requirement completely locked me out of my account

Summary

If a group requires 2FA, I cannot access ANY part of my own account

Steps to reproduce

Join a group, then have that group require 2FA

Example Project

Any

What is the current bug behavior?

I cannot access any gitlab page whatsoever, to include my own projects (unrelated to the offending group) or even my own account settings page, profile, or anything else. I had to create this dummy throwaway account just to be able to open this issue.

What is the expected correct behavior?

At the very least I should be able to remove myself from the group that required 2FA. Even better would be if I could continue accessing my own account, and just have access to the offending group blocked

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)

Output of checks

This bug happens on GitLab.com