mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-23 11:27:30 +08:00
feat: Add client.subscribe.servers hook for plugin-based server extension
- Add HookManager::filter('client.subscribe.servers') hook in ClientController::subscribe()
- Allow plugins to inject custom servers into subscription responses
- Update protocol classes to support extended server configurations
- Enable dynamic server list modification before protocol processing
This commit is contained in:
@@ -52,7 +52,7 @@ class ServerService
|
||||
} else {
|
||||
$server->port = (int) $server->port;
|
||||
}
|
||||
$server->password = $server->generateShadowsocksPassword($user);
|
||||
$server->password = $server->generateServerPassword($user);
|
||||
return $server;
|
||||
})->toArray();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user