aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 7debb525..22e8487c 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -30,6 +30,7 @@ namespace slskd
using FluentFTP;
using NetTools;
using slskd.Configuration;
+ using slskd.Cryptography;
using slskd.Validation;
using Soulseek.Diagnostics;
using Utility.CommandLine;
@@ -1330,7 +1331,7 @@ namespace slskd
[StringLength(255, MinimumLength = 16)]
[Secret]
[RequiresRestart]
- public string Key { get; init; } = Cryptography.Random.GetBytes(16).ToBase62String();
+ public string Key { get; init; } = Cryptography.Random.GetBytes(16).ToBase62();
/// <summary>
/// Gets the TTL for JWTs, in milliseconds.