Unable to stop impersonating user when 2FA is required and not set up for said user
Created by: veloxy
Summary
When impersonating a user and 2FA is required, you are not able to stop impersonating that user using the "stop impersonating" button in the top right corner when that user has not yet set up their two factor auth. Instead, it just keeps redirecting you to the 2FA setup page.
Steps to reproduce
Have 2FA required for all users and impersonate an account which has not setup 2FA yet.
Expected behavior
Should stop impersonating the user.