diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-10-07 09:13:16 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-10-07 09:13:16 -0500 |
| commit | 6bfa979a30e47b6a1626c909a04388fd4bb7ce55 (patch) | |
| tree | 9cf9aa48cf1896cdeba08008785846e160397d8b /src | |
| parent | 33eb63ce219fb03113819a7442a1e8af403d8785 (diff) | |
| download | slskd-6bfa979a30e47b6a1626c909a04388fd4bb7ce55.tar.gz | |
fix more broken base62
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 3 |
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. |
