mirror of
https://github.com/bitinflow/expose.git
synced 2026-10-31 20:59:09 +00:00
wip
This commit is contained in:
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([
|
||||
|
||||
Reference in new issue
Block a user