Skip to content

Fix username and ID not logging in production_json.log for Git activity

Stan Hu requested to merge sh-fix-username-logging into master

Devise sets current_user, but not all controllers authenticate users by session tokens. Try to use the controller-defined autenticated_user if current_user is not available.

Closes gitlab-org/gitlab-ee#3611

Edited by Stan Hu

Merge request reports

Loading