mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
myAmity: fix relogin detection
This commit is contained in:
@@ -113,7 +113,7 @@ namespace Jackett.Indexers
|
|||||||
searchUrl += "?" + queryCollection.GetQueryString();
|
searchUrl += "?" + queryCollection.GetQueryString();
|
||||||
|
|
||||||
var response = await RequestStringWithCookies(searchUrl);
|
var response = await RequestStringWithCookies(searchUrl);
|
||||||
if (response.IsRedirect)
|
if (response.IsRedirect || response.Cookies.Contains("pass=deleted;"))
|
||||||
{
|
{
|
||||||
// re-login
|
// re-login
|
||||||
await ApplyConfiguration(null);
|
await ApplyConfiguration(null);
|
||||||
|
Reference in New Issue
Block a user