-
- Downloads
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
Showing
- app/controllers/application_controller.rb 12 additions, 3 deletionsapp/controllers/application_controller.rb
- app/controllers/projects/git_http_client_controller.rb 1 addition, 0 deletionsapp/controllers/projects/git_http_client_controller.rb
- changelogs/unreleased/sh-fix-username-logging.yml 5 additions, 0 deletionschangelogs/unreleased/sh-fix-username-logging.yml
Please register or sign in to comment