mirror of https://github.com/Jackett/Jackett
Norbits: fix login error handling
This commit is contained in:
parent
a85e00f236
commit
a9c5477003
|
@ -176,7 +176,7 @@ namespace Jackett.Indexers
|
|||
var response = await webclient.GetString(request);
|
||||
|
||||
// Test if we are logged in
|
||||
await ConfigureIfOK(response.Cookies, response.Content != null && response.Cookies.Contains("uid="), () =>
|
||||
await ConfigureIfOK(response.Cookies, response.Cookies != null && response.Cookies.Contains("uid="), () =>
|
||||
{
|
||||
// Default error message
|
||||
var message = "Error during attempt !";
|
||||
|
|
Loading…
Reference in New Issue