mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
log os
This commit is contained in:
1 parent
85327760b9
commit
12b49f5fa7
2 files changed
+59
No files matched your search
@@ -146,6 +146,8 @@ Rails.application.configure do
|
||||
|
||||
current_user = controller.instance_variable_get(:@current_user)
|
||||
|
||||
os = DetectBrowserDevice.os(controller.request.user_agent) if ENV['MULTITENANT'] == 'true'
|
||||
|
||||
{
|
||||
host: controller.request.host,
|
||||
fwd: controller.request.remote_ip,
|
||||
@@ -161,6 +163,7 @@ Rails.application.configure do
|
||||
params[:submit_form_slug] ||
|
||||
params[:template_slug]).to_s.first(5)
|
||||
}.compact_blank,
|
||||
**(os ? { os: } : {}),
|
||||
uid: current_user.try(:id),
|
||||
aid: current_user.try(:account_id),
|
||||
rid: resource.try(:id),
|
||||
|
||||
Reference in new issue
Block a user