Skip to content

Commit

Permalink
Update TokenController.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
quietsy authored Oct 7, 2020
1 parent 0f4c69f commit be6f984
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Ombi/Controllers/V1/TokenController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public async Task<IActionResult> GetToken([FromBody] UserAuthModel model)
var url = await _plexOAuthManager.GetOAuthUrl(model.PlexTvPin.code, websiteAddress);
if (url == null)
{
_log.LogWarning(string.Format("Failed login attempt by IP: {0}", GetRequestIP()));
return new JsonResult(new
{
error = "Application URL has not been set"
Expand Down Expand Up @@ -276,4 +275,4 @@ private string GetRequestIP()
return ip;
}
}
}
}

0 comments on commit be6f984

Please sign in to comment.