Resolve "Disabling two factor authentication via gitlab-rake fails"
What does this MR do?
Use gitlab_environment because we need:
- ask_to_continue
- Gitlab::TaskAbortedByUserError
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug - Review
-
Has been reviewed by Backend
-
What are the relevant issue numbers?
Closes #44425 (closed)
Edited by Lin Jen-Shin