mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
TorrentNetwork: fix login
This commit is contained in:
@@ -145,7 +145,7 @@ namespace Jackett.Indexers
|
|||||||
APIHeaders["Authorization"] = token;
|
APIHeaders["Authorization"] = token;
|
||||||
|
|
||||||
var curuser = await SendAPIRequest("curuser", null);
|
var curuser = await SendAPIRequest("curuser", null);
|
||||||
if (curuser.passkey.IsNullOrEmptyOrWhitespace())
|
if (string.IsNullOrWhiteSpace(curuser.passkey.ToString()))
|
||||||
throw new ExceptionWithConfigData("got empty passkey: " + curuser.ToString(), configData);
|
throw new ExceptionWithConfigData("got empty passkey: " + curuser.ToString(), configData);
|
||||||
passkey = curuser.passkey;
|
passkey = curuser.passkey;
|
||||||
var passkeyItem = (HiddenItem)configData.GetDynamic("passkey");
|
var passkeyItem = (HiddenItem)configData.GetDynamic("passkey");
|
||||||
|
Reference in New Issue
Block a user