mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-15 14:35:55 +00:00
Merge branch 'master' of github.com:beyondcode/phunnel
This commit is contained in:
@@ -275,7 +275,7 @@ class ControlMessageController implements MessageComponentInterface
|
|||||||
|
|
||||||
$this->domainRepository
|
$this->domainRepository
|
||||||
->getDomainsByUserId($user['id'])
|
->getDomainsByUserId($user['id'])
|
||||||
->then(function ($domains) use ($connection, $deferred , $serverHost) {
|
->then(function ($domains) use ($connection, $deferred, $serverHost) {
|
||||||
$userDomain = collect($domains)->first(function ($domain) use ($serverHost) {
|
$userDomain = collect($domains)->first(function ($domain) use ($serverHost) {
|
||||||
return strtolower($domain['domain']) === strtolower($serverHost);
|
return strtolower($domain['domain']) === strtolower($serverHost);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user