From e8bffe4b4996089de83176caba311bbc4fdcd552 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 11 Jul 2021 11:54:37 -0500 Subject: don't require soulseek username/password --- src/slskd/Options.cs | 18 ++++++++---------- 1 file 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 @@ -220,24 +220,22 @@ namespace slskd /// public class SoulseekOptions { - /// - /// Gets the password for the Soulseek network. - /// - [Argument(default, "slsk-password")] - [EnvironmentVariable("SLSK_PASSWORD")] - [Description("password for the Soulseek network")] - [Required] - public string Password { get; private set; } = null; - /// /// Gets the username for the Soulseek network. /// [Argument(default, "slsk-username")] [EnvironmentVariable("SLSK_USERNAME")] [Description("username for the Soulseek network")] - [Required] public string Username { get; private set; } = null; + /// + /// Gets the password for the Soulseek network. + /// + [Argument(default, "slsk-password")] + [EnvironmentVariable("SLSK_PASSWORD")] + [Description("password for the Soulseek network")] + public string Password { get; private set; } = null; + /// /// Gets the port on which to listen for incoming connections. /// -- cgit v1.2.3