forked from External/greenlight
GRN2-ZZZ: Added messages for debugging actioncable (#731)
* GRN2-ZZZ: Added messages for debugging actioncable * GRN2-ZZZ: Added data to the js message for debugging actioncable * GRN2-ZZZ: Added data to the js message for debugging actioncable * Log unsubscribe
This commit is contained in:
@ -138,5 +138,11 @@ module Greenlight
|
||||
|
||||
# Default admin password
|
||||
config.admin_password_default = ENV['ADMIN_PASSWORD'] || 'administrator'
|
||||
|
||||
config.action_cable.log_tags = [
|
||||
->(request) { request.session['user_id'] || "no-account" },
|
||||
:action_cable,
|
||||
->(request) { request.uuid }
|
||||
]
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user