mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +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
|
||||
->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) {
|
||||
return strtolower($domain['domain']) === strtolower($serverHost);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user