Fixed an issue where we were retrying the API call when the Plex users login creds were invalid.

#1217

Also removed the Auto update button from the Update page
This commit is contained in:
tidusjar 2017-03-29 21:10:06 +01:00
commit 41021240c9
4 changed files with 27 additions and 21 deletions

View file

@ -77,8 +77,7 @@ namespace Ombi.Api
request.AddJsonBody(userModel);
var obj = RetryHandler.Execute<PlexAuthentication>(() => Api.Execute<PlexAuthentication> (request, new Uri(SignInUri)),
(exception, timespan) => Log.Error (exception, "Exception when calling SignIn for Plex, Retrying {0}", timespan));
var obj = Api.Execute<PlexAuthentication> (request, new Uri(SignInUri));
return obj;
}