remove empty creds restriction (#10)

* removed empty checks on qbit and deluge credentials

* updated configuration readme
This commit is contained in:
Marius Nechifor
2024-11-19 23:54:16 +02:00
committed by GitHub
parent cbc5c571b3
commit 54cabd98b4
4 changed files with 11 additions and 21 deletions
@@ -27,6 +27,11 @@ public sealed class QBitService : IDownloadService
public async Task LoginAsync()
{
if (string.IsNullOrEmpty(_config.Username) && string.IsNullOrEmpty(_config.Password))
{
return;
}
await _client.LoginAsync(_config.Username, _config.Password);
}