aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-07-11 11:54:37 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-07-11 11:54:37 -0500
commite8bffe4b4996089de83176caba311bbc4fdcd552 (patch)
tree86f4a65dcba12cc4ff8011df0109ea29097f1e34 /src/slskd
parent74646fd90e45ae6d84b95bac8e610e907e3ca202 (diff)
downloadslskd-e8bffe4b4996089de83176caba311bbc4fdcd552.tar.gz
don't require soulseek username/password
Diffstat (limited to 'src/slskd')
-rw-r--r--src/slskd/Options.cs18
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")]