Skip to content
Snippets Groups Projects
Commit 8321c6d3 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Log connection when not auth

parent 4dcb4739
No related merge requests found
......@@ -62,7 +62,7 @@
stream: (streamName, args) ->
# Prevent call from self and client
if not @connection? or @connection.clientAddress?
console.log "Stream for broadcast with name #{streamName} from client or self is not authorized".red
console.log "Stream for broadcast with name #{streamName} from client or self is not authorized".red, @connection
return
# Prevent call from unauthrorized connections
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment