Implement group password for session auth

This commit is contained in:
Neil Alexander
2026-05-12 15:56:44 +01:00
parent bc72b106b7
commit 22d880a88b
6 changed files with 15 additions and 3 deletions

View File

@@ -210,6 +210,9 @@ func main() {
for _, peer := range cfg.Peers {
options = append(options, core.Peer{URI: peer})
}
if cfg.GroupPassword != "" {
options = append(options, core.GroupPassword(cfg.GroupPassword))
}
for intf, peers := range cfg.InterfacePeers {
for _, peer := range peers {
options = append(options, core.Peer{URI: peer, SourceInterface: intf})