summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorMarcel Amirault <ravlen@gmail.com>2018-09-17 09:17:33 +0000
committerDouwe Maan <douwe@gitlab.com>2018-09-17 09:17:33 +0000
commit6876c7afa8ccb5e21f2792362bec7567b5c3734d (patch)
tree00e3c3d155a54a2665ee571e5eba0e1b0cd8a80d /lib/api
parentcdc4cd09e74bebf52250581dcbd99cfd8848aaeb (diff)
downloadgitlab-ce-6876c7afa8ccb5e21f2792362bec7567b5c3734d.tar.gz
Fix grammar (setup to set-up) in code comments, spec, views, etc.
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb
index 897010217dc..c80d9890706 100644
--- a/lib/api/settings.rb
+++ b/lib/api/settings.rb
@@ -102,7 +102,7 @@ module API
end
optional :repository_checks_enabled, type: Boolean, desc: "GitLab will periodically run 'git fsck' in all project and wiki repositories to look for silent disk corruption issues."
optional :repository_storages, type: Array[String], desc: 'Storage paths for new projects'
- optional :require_two_factor_authentication, type: Boolean, desc: 'Require all users to setup Two-factor authentication'
+ optional :require_two_factor_authentication, type: Boolean, desc: 'Require all users to set up Two-factor authentication'
given require_two_factor_authentication: ->(val) { val } do
requires :two_factor_grace_period, type: Integer, desc: 'Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication'
end