mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user