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>2017-10-03 09:28:22 +0300
committerStan Hu <stanhu@gmail.com>2017-10-04 21:47:36 +0300
commit5d52bb59dc632601f4028b430deae7348c5e279b (patch)
treec183ffd1755c4c9e4b784d07e4437664cf4b8129 /changelogs
parentaaa57c9d35b1eb744fca970263220850db06639f (diff)
Fix username and ID not logging in production_json.log for Git activity
Devise sets `current_user`, but not all controllers authenticate users by session tokens. Try to use the controller-defined `authenticated_user` if `current_user` is not available. Closes gitlab-org/gitlab-ee#3611
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/sh-fix-username-logging.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-fix-username-logging.yml b/changelogs/unreleased/sh-fix-username-logging.yml
new file mode 100644
index 00000000000..dadf3fb6729
--- /dev/null
+++ b/changelogs/unreleased/sh-fix-username-logging.yml
@@ -0,0 +1,5 @@
+---
+title: Fix username and ID not logging in production_json.log for Git activity
+merge_request:
+author:
+type: fixed