diff --git a/server/RdtClient.Web/Controllers/QBittorrentController.cs b/server/RdtClient.Web/Controllers/QBittorrentController.cs index 4fdfd77..a527f7b 100644 --- a/server/RdtClient.Web/Controllers/QBittorrentController.cs +++ b/server/RdtClient.Web/Controllers/QBittorrentController.cs @@ -21,6 +21,11 @@ public class QBittorrentController(ILogger logger, QBitto { logger.LogDebug($"Auth login"); + if (Settings.Get.General.AuthenticationType == AuthenticationType.None) + { + return Ok("Ok."); + } + if (String.IsNullOrWhiteSpace(request.UserName) || String.IsNullOrEmpty(request.Password)) { return Ok("Fails.");