mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Use renewed mam_id from response to avoid invalid credentials after original one expires
This commit is contained in:
@@ -607,12 +607,7 @@ namespace NzbDrone.Core.Indexers
|
||||
|
||||
protected virtual bool CheckIfLoginNeeded(HttpResponse httpResponse)
|
||||
{
|
||||
if (httpResponse.StatusCode == HttpStatusCode.Unauthorized)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return httpResponse.StatusCode == HttpStatusCode.Unauthorized;
|
||||
}
|
||||
|
||||
protected virtual Task DoLogin()
|
||||
|
Reference in New Issue
Block a user