diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-07-11 11:54:37 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-07-11 11:54:37 -0500 |
| commit | e8bffe4b4996089de83176caba311bbc4fdcd552 (patch) | |
| tree | 86f4a65dcba12cc4ff8011df0109ea29097f1e34 /src/slskd | |
| parent | 74646fd90e45ae6d84b95bac8e610e907e3ca202 (diff) | |
| download | slskd-e8bffe4b4996089de83176caba311bbc4fdcd552.tar.gz | |
don't require soulseek username/password
Diffstat (limited to 'src/slskd')
| -rw-r--r-- | src/slskd/Options.cs | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs index 98499fc9..7e4880c6 100644 --- a/src/slskd/Options.cs +++ b/src/slskd/Options.cs @@ -221,24 +221,22 @@ namespace slskd public class SoulseekOptions { /// <summary> - /// Gets the password for the Soulseek network. - /// </summary> - [Argument(default, "slsk-password")] - [EnvironmentVariable("SLSK_PASSWORD")] - [Description("password for the Soulseek network")] - [Required] - public string Password { get; private set; } = null; - - /// <summary> /// Gets the username for the Soulseek network. /// </summary> [Argument(default, "slsk-username")] [EnvironmentVariable("SLSK_USERNAME")] [Description("username for the Soulseek network")] - [Required] public string Username { get; private set; } = null; /// <summary> + /// Gets the password for the Soulseek network. + /// </summary> + [Argument(default, "slsk-password")] + [EnvironmentVariable("SLSK_PASSWORD")] + [Description("password for the Soulseek network")] + public string Password { get; private set; } = null; + + /// <summary> /// Gets the port on which to listen for incoming connections. /// </summary> [Argument(default, "slsk-listen-port")] |
