mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
Fix private channel auth
This commit is contained in:
@@ -43,9 +43,9 @@ class AuthController implements ControllerInterface
|
||||
|
||||
if (array_get($body, 'channel_name') === $userChannel) {
|
||||
$pusher = new Pusher(
|
||||
$this->settings->get('pusher.app_key'),
|
||||
$this->settings->get('pusher.app_secret'),
|
||||
$this->settings->get('pusher.app_id')
|
||||
$this->settings->get('flarum-pusher.app_key'),
|
||||
$this->settings->get('flarum-pusher.app_secret'),
|
||||
$this->settings->get('flarum-pusher.app_id')
|
||||
);
|
||||
|
||||
$payload = json_decode($pusher->socket_auth($userChannel, array_get($body, 'socket_id')), true);
|
||||
|
Reference in New Issue
Block a user