diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-01-18 22:34:47 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-01-18 22:34:47 -0600 |
| commit | f03fce8e3b542fe3a0925e70bfa01a062e00c84d (patch) | |
| tree | 5b9a9816ca7b7e90e8aef201fd3dd2e46b1a34f2 /src/slskd/Controllers | |
| parent | 9a56c438f08238fef633a30124d853c18445803e (diff) | |
| download | slskd-f03fce8e3b542fe3a0925e70bfa01a062e00c84d.tar.gz | |
use feature flags for prometheus and swagger. refactor handling of auth disable
Diffstat (limited to 'src/slskd/Controllers')
| -rw-r--r-- | src/slskd/Controllers/SessionController.cs | 2 |
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> |
