Can't stop impersonating a user that has not setup two-factor authentication
Summary
Can't stop impersonating a user that has not setup two-factor authentication. I simply get redirected back to the two-factor authentication page.
Steps to reproduce
- Make sure Two Factor authentication is required
- Create a new user
- Impersonate the new user before they have setup two-factor authentication
- Try to stop impersonating the user
Expected behavior
I should be able to stop impersonating the user
Actual behavior
I can't stop impersonating the user by clicking the button on top bar.
Edited by 🤖 GitLab Bot 🤖