-
Fix username and ID not logging in production_json.log for Git activity · 5d52bb59Stan Hu authored
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
5d52bb59
×