mirror of https://github.com/Jackett/Jackett
myAmity: fix login detection
This commit is contained in:
parent
66b2c20b42
commit
89a28e2e95
|
@ -113,7 +113,7 @@ namespace Jackett.Indexers
|
|||
searchUrl += "?" + queryCollection.GetQueryString();
|
||||
|
||||
var response = await RequestStringWithCookies(searchUrl);
|
||||
if (response.IsRedirect || response.Cookies.Contains("pass=deleted;"))
|
||||
if (response.IsRedirect || response.Cookies != null && response.Cookies.Contains("pass=deleted;"))
|
||||
{
|
||||
// re-login
|
||||
await ApplyConfiguration(null);
|
||||
|
|
Loading…
Reference in New Issue