aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 1eb92449..077ecf74 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1653,7 +1653,7 @@ namespace slskd
[StringLength(255, MinimumLength = 16)]
[Secret]
[RequiresRestart]
- public string Key { get; init; } = Cryptography.Random.GetBytes(16).ToBase62();
+ public string Key { get; init; } = Cryptography.Random.GetBytes(32).ToBase62();
/// <summary>
/// Gets the TTL for JWTs, in milliseconds.