mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Fixed BitMeTV login, fixed failed login callback failing if async
This commit is contained in:
@@ -312,18 +312,6 @@ namespace Jackett.Indexers
|
||||
return response;
|
||||
}
|
||||
|
||||
protected void ConfigureIfOK(string cookies, bool isLoggedin, Action onError)
|
||||
{
|
||||
if (isLoggedin)
|
||||
{
|
||||
cookieHeader = cookies;
|
||||
SaveCookieHeaderAndConfigure();
|
||||
} else
|
||||
{
|
||||
onError();
|
||||
}
|
||||
}
|
||||
|
||||
protected async Task ConfigureIfOK(string cookies, bool isLoggedin, Func<Task> onError)
|
||||
{
|
||||
if (isLoggedin)
|
||||
|
Reference in New Issue
Block a user