mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-26 22:46:53 -04:00
Fixed Deluge and BTN cleanse password logic.
This commit is contained in:
@@ -92,7 +92,7 @@ namespace NzbDrone.Core.Download.Clients.Deluge
|
||||
|
||||
public string AddTorrentFromFile(string filename, byte[] fileContent, DelugeSettings settings)
|
||||
{
|
||||
var response = ProcessRequest<string>(settings, "core.add_torrent_file", filename, Convert.ToBase64String(fileContent), new JObject());
|
||||
var response = ProcessRequest<string>(settings, "core.add_torrent_file", filename, fileContent, new JObject());
|
||||
|
||||
return response;
|
||||
}
|
||||
@@ -256,7 +256,6 @@ namespace NzbDrone.Core.Download.Clients.Deluge
|
||||
_authCookieCache.Remove(authKey);
|
||||
|
||||
var authLoginRequest = requestBuilder.Call("auth.login", settings.Password).Build();
|
||||
authLoginRequest.ContentSummary = "auth.login(\"(removed)\")";
|
||||
var response = _httpClient.Execute(authLoginRequest);
|
||||
var result = Json.Deserialize<JsonRpcResponse<bool>>(response.Content);
|
||||
if (!result.Result)
|
||||
|
||||
Reference in New Issue
Block a user