diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index a63154b4..cc155f5f 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -424,7 +424,7 @@ namespace slskd /// </summary> [Argument(default, "controller-secret")] [EnvironmentVariable("CONTROLLER_SECRET")] - [StringLength(255, MinimumLength = 32)] + [StringLength(48, MinimumLength = 48)] [Secret] public string Secret { get; init; } } @@ -437,7 +437,7 @@ namespace slskd /// <summary> /// Gets the agent secret. /// </summary> - [StringLength(255, MinimumLength = 32)] + [StringLength(48, MinimumLength = 48)] [Secret] public string Secret { get; init; } } |
