Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
8321c6d3
Commit
8321c6d3
authored
9 years ago
by
Rodrigo Nascimento
Browse files
Options
Downloads
Patches
Plain Diff
Log connection when not auth
parent
4dcb4739
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/stream/streamBroadcast.coffee
+1
-1
1 addition, 1 deletion
server/stream/streamBroadcast.coffee
with
1 addition
and
1 deletion
server/stream/streamBroadcast.coffee
+
1
−
1
View file @
8321c6d3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment