aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Controllers/SessionController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Controllers/SessionController.cs')
-rw-r--r--src/slskd/Controllers/SessionController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Controllers/SessionController.cs b/src/slskd/Controllers/SessionController.cs
index 0f849a2a..5c162708 100644
--- a/src/slskd/Controllers/SessionController.cs
+++ b/src/slskd/Controllers/SessionController.cs
@@ -34,7 +34,7 @@
[ProducesResponseType(typeof(bool), 200)]
public IActionResult Enabled()
{
- return Ok(Startup.EnableSecurity);
+ return Ok(!Program.DisableAuthentication);
}
/// <summary>