mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
SceneFZ: fix null pointer exception
This commit is contained in:
@@ -164,7 +164,7 @@ namespace Jackett.Indexers
|
||||
// Get login page
|
||||
var response = await webclient.GetString(request);
|
||||
output("\nTesting if we are logged...");
|
||||
await ConfigureIfOK(response.Cookies, response.Cookies.Contains("uid="), () =>
|
||||
await ConfigureIfOK(response.Cookies, response.Cookies != null && response.Cookies.Contains("uid="), () =>
|
||||
{
|
||||
output("-> Login Failed: Wrong username or Password");
|
||||
throw new ExceptionWithConfigData("Wrong username or Password", configData);
|
||||
|
Reference in New Issue
Block a user