diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-07-12 20:41:44 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-07-12 20:41:44 -0500 |
| commit | 99954b32edd7fb6e4edc69557649758360c03647 (patch) | |
| tree | 3288d094c7487eb0608c4819b7af32abe62f2dcb /src/slskd/Application/Management/API/Controllers/SessionController.cs | |
| parent | 07133bd2a51acf5275578b7d4167dd3b9f689d7f (diff) | |
| parent | 373b2974614171f5492d2e36899a7c0a67fa4395 (diff) | |
| download | slskd-99954b32edd7fb6e4edc69557649758360c03647.tar.gz | |
Merge branch 'options' of https://github.com/slskd/slskd into options
Diffstat (limited to 'src/slskd/Application/Management/API/Controllers/SessionController.cs')
| -rw-r--r-- | src/slskd/Application/Management/API/Controllers/SessionController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Application/Management/API/Controllers/SessionController.cs b/src/slskd/Application/Management/API/Controllers/SessionController.cs index 09a95c24..1721f3f2 100644 --- a/src/slskd/Application/Management/API/Controllers/SessionController.cs +++ b/src/slskd/Application/Management/API/Controllers/SessionController.cs @@ -37,7 +37,7 @@ namespace slskd.Management.API public class SessionController : ControllerBase { public SessionController( - Microsoft.Extensions.Options.IOptionsSnapshot<Options> optionsSnapshot, + Microsoft.Extensions.Options.IOptionsSnapshot<Configuration> optionsSnapshot, SymmetricSecurityKey jwtSigningKey) { Options = optionsSnapshot.Value; @@ -45,7 +45,7 @@ namespace slskd.Management.API } private SymmetricSecurityKey JwtSigningKey { get; set; } - private Options Options { get; set; } + private Configuration Options { get; set; } /// <summary> /// Checks whether the provided authentication is valid. |
