This commit is contained in:
Marcel Pociot committed 2020-04-24 16:10:38 +02:00
commit a3eb79b77a
19 files changed
+1873 -1562

No files matched your search

@@ -30,7 +30,6 @@ class ControlMessageController implements MessageComponentInterface
*/
function onOpen(ConnectionInterface $connection)
{
$this->verifyAuthToken($connection);
}
/**
@@ -75,6 +74,10 @@ class ControlMessageController implements MessageComponentInterface
protected function authenticate(ConnectionInterface $connection, $data)
{
if (config('expose.validate_auth_tokens') === true) {
$this->verifyAuthToken($connection);
}
$connectionInfo = $this->connectionManager->storeConnection($data->host, $data->subdomain, $connection);
$connection->send(json_encode([