`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|
|
config.lograge.custom_payload do |controller|
|
||||||
{
|
{
|
||||||
ip: controller.request.remote_ip,
|
ip: controller.request.remote_ip,
|
||||||
current_username: controller.current_user&.username,
|
username: controller.current_user&.username,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue