aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/API/Controllers/OptionsController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-12-01 09:22:57 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-12-01 09:22:57 -0600
commit2c856e441c57623d5a4fa157a803b589416629e6 (patch)
tree0041f807a8ec0b4a539d1ecdac258596a3242357 /src/slskd/Core/API/Controllers/OptionsController.cs
parent49c16a917cfa58ab9647d59dec5cccde7026a1f7 (diff)
downloadslskd-2c856e441c57623d5a4fa157a803b589416629e6.tar.gz
default remote configuration to false again
Diffstat (limited to 'src/slskd/Core/API/Controllers/OptionsController.cs')
-rw-r--r--src/slskd/Core/API/Controllers/OptionsController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Core/API/Controllers/OptionsController.cs b/src/slskd/Core/API/Controllers/OptionsController.cs
index aa5ffc3a..60237878 100644
--- a/src/slskd/Core/API/Controllers/OptionsController.cs
+++ b/src/slskd/Core/API/Controllers/OptionsController.cs
@@ -86,7 +86,7 @@ namespace slskd.Core.API
[Route("yaml")]
public IActionResult GetYamlFile()
{
- if (!OptionsSnapshot.Value.NoRemoteConfiguration)
+ if (!OptionsSnapshot.Value.RemoteConfiguration)
{
return Forbid();
}
@@ -100,7 +100,7 @@ namespace slskd.Core.API
[Route("yaml")]
public IActionResult UpdateYamlFile([FromBody] string yaml)
{
- if (!OptionsSnapshot.Value.NoRemoteConfiguration)
+ if (!OptionsSnapshot.Value.RemoteConfiguration)
{
return Forbid();
}