Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-06-24 09:48:52 +0300
committerStan Hu <stanhu@gmail.com>2019-06-24 09:48:52 +0300
commit22cfb8588ce0752c11397eae158a935709fe533d (patch)
tree6921d87590ea3d86b77e3fb24adc32de4a4c05cf /doc/development/profiling.md
parent97e8f494427582251af55056d25459bf038dabbc (diff)
Remove requirement for personal access token in profiling
Since https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23320, personal access tokens are no longer needed for profiling an endpoint since users are stubbed directly.
Diffstat (limited to 'doc/development/profiling.md')
-rw-r--r--doc/development/profiling.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/development/profiling.md b/doc/development/profiling.md
index b2f3a105b23..795523b82aa 100644
--- a/doc/development/profiling.md
+++ b/doc/development/profiling.md
@@ -38,10 +38,6 @@ For routes that require authorization you will need to provide a user to
Gitlab::Profiler.profile('/gitlab-org/gitlab-test', user: User.first)
```
-The user you provide will need to have a [personal access
-token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html) in
-the GitLab instance.
-
Passing a `logger:` keyword argument to `Gitlab::Profiler.profile` will send
ActiveRecord and ActionController log output to that logger. Further options are
documented with the method source.