`current_username` -> `username`.

This commit is contained in:
Guo Xiang Tan 2017-12-05 12:29:02 +08:00
parent dc858ec120
commit 6cb2b68b22
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if (Rails.env.production? && SiteSetting.logging_provider == 'lograge') || ENV["
config.lograge.custom_payload do |controller|
{
ip: controller.request.remote_ip,
current_username: controller.current_user&.username,
username: controller.current_user&.username,
}
end