mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
current_username
-> username
.
This commit is contained in:
parent
dc858ec120
commit
6cb2b68b22
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user