mirror of https://github.com/Jackett/Jackett
SaveConfig() after IsConfigured
This commit is contained in:
parent
9d6d5265e2
commit
6b35da8ad0
|
@ -135,8 +135,8 @@ namespace Jackett.Indexers
|
|||
{
|
||||
configData.CookieHeader.Value = jsonConfig.Value<string>("cookies");
|
||||
configData.IncludeRaw.Value = jsonConfig.Value<bool>("raws");
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -540,8 +540,8 @@ namespace Jackett.Indexers
|
|||
if (isLoggedin)
|
||||
{
|
||||
CookieHeader = cookies;
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -915,8 +915,8 @@ namespace Jackett.Indexers
|
|||
await DoLogin();
|
||||
await TestLogin();
|
||||
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
}
|
||||
|
||||
|
|
|
@ -123,8 +123,8 @@ namespace Jackett.Indexers
|
|||
throw new Exception("Your cookie did not work");
|
||||
}
|
||||
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
@ -125,8 +125,8 @@ namespace Jackett.Indexers
|
|||
throw new Exception("Your cookie did not work");
|
||||
}
|
||||
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
@ -128,8 +128,8 @@ namespace Jackett.Indexers
|
|||
throw new Exception("Your cookie did not work");
|
||||
}
|
||||
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
@ -169,8 +169,8 @@ namespace Jackett.Indexers
|
|||
throw new Exception("Your cookie did not work");
|
||||
}
|
||||
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
@ -128,8 +128,8 @@ namespace Jackett.Indexers
|
|||
throw new Exception("Your cookie did not work");
|
||||
}
|
||||
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
@ -142,8 +142,8 @@ namespace Jackett.Indexers
|
|||
throw new Exception("Your cookie did not work");
|
||||
}
|
||||
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
@ -89,8 +89,8 @@ namespace Jackett.Indexers
|
|||
throw new Exception("Your cookie did not work");
|
||||
}
|
||||
|
||||
SaveConfig();
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Reference in New Issue