aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/UserController.cs
diff options
context:
space:
mode:
authorConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com>2020-08-16 17:21:08 -0500
committerGitHub <noreply@github.com>2020-08-16 17:21:08 -0500
commiteaa57115347f6f70d478f2ca39601d2e70efbdaf (patch)
tree8fc9f58d850205d5562aef7fbdfb359fbb9e5a64 /Jellyfin.Api/Controllers/UserController.cs
parent035d29fb357006c29ffb40e0a53c1e999237cdd1 (diff)
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Jellyfin.Api/Controllers/UserController.cs')
-rw-r--r--Jellyfin.Api/Controllers/UserController.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/Jellyfin.Api/Controllers/UserController.cs b/Jellyfin.Api/Controllers/UserController.cs
index 131fffb7a..355816bd3 100644
--- a/Jellyfin.Api/Controllers/UserController.cs
+++ b/Jellyfin.Api/Controllers/UserController.cs
@@ -227,11 +227,6 @@ namespace Jellyfin.Api.Controllers
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<ActionResult<AuthenticationResult>> AuthenticateWithQuickConnect([FromBody, Required] QuickConnectDto request)
{
- if (request.Token == null)
- {
- return BadRequest("Access token is required.");
- }
-
var auth = _authContext.GetAuthorizationInfo(Request);
try