提交 b3723fe2 编写于 作者: L Lin Jen-Shin

Use gitlab_environment because we need:

* ask_to_continue
* Gitlab::TaskAbortedByUserError
上级 77a6afd5
---
title: Fix `gitlab-rake gitlab:two_factor:disable_for_all_users`
merge_request: 18154
author:
type: fixed
namespace :gitlab do
namespace :two_factor do
desc "GitLab | Disable Two-factor authentication (2FA) for all users"
task disable_for_all_users: :environment do
task disable_for_all_users: :gitlab_environment do
scope = User.with_two_factor
count = scope.count
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册