mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-18 10:41:43 +02:00
Add username/password to Hello message
This commit is contained in:
parent
b566b42ee0
commit
080b7a809b
6 changed files with 40 additions and 4 deletions
|
@ -368,6 +368,10 @@ int main(int argc, char** argv)
|
|||
throw SnapException("Snapclient is built without wss support");
|
||||
#endif
|
||||
}
|
||||
if (!uri.user.empty())
|
||||
settings.server.username = uri.user;
|
||||
if (!uri.password.empty())
|
||||
settings.server.password = uri.password;
|
||||
}
|
||||
|
||||
if (server_cert_opt->is_set())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue