Skip to content

Commit 09d53ee

Browse files
committed
return on non empty response from channels
1 parent 0fbbbf2 commit 09d53ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Illuminate/Broadcasting/Broadcasters/Broadcaster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ protected function verifyUserCanAccessChannel($request, $channel)
117117

118118
$handler = $this->normalizeChannelHandlerToCallable($callback);
119119

120-
if ($result = $handler($this->retrieveUser($request, $channel), ...$parameters)) {
120+
if (! empty($result = $handler($this->retrieveUser($request, $channel), ...$parameters))) {
121121
return $this->validAuthenticationResponse($request, $result);
122122
}
123123
}

0 commit comments

Comments
 (0)