Cardigann: fix re-login caching issue for login method=form indexers

This commit is contained in:
kaso17
2016-12-14 08:44:56 +01:00
parent addf98e9a3
commit 059701fbf6

View File

@@ -441,6 +441,10 @@ namespace Jackett.Indexers
pairs["submitme"] = "X"; pairs["submitme"] = "X";
} }
// clear landingResults/Document, otherwise we might use an old version for a new relogin (if GetConfigurationForSetup() wasn't called before)
landingResult = null;
landingResultDocument = null;
WebClientStringResult loginResult = null; WebClientStringResult loginResult = null;
var enctype = form.GetAttribute("enctype"); var enctype = form.GetAttribute("enctype");
if (enctype == "multipart/form-data") if (enctype == "multipart/form-data")