diff --git a/MediaBrowser.Api/UserService.cs b/MediaBrowser.Api/UserService.cs
index 3b7808ba76..a64152246b 100644
--- a/MediaBrowser.Api/UserService.cs
+++ b/MediaBrowser.Api/UserService.cs
@@ -5,11 +5,11 @@ using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Serialization;
using MediaBrowser.Model.Users;
using ServiceStack;
+using ServiceStack.Text.Controller;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using ServiceStack.Text.Controller;
namespace MediaBrowser.Api
{
@@ -269,13 +269,13 @@ namespace MediaBrowser.Api
/// Posts the specified request.
///
/// The request.
- public async Task Post(AuthenticateUser request)
+ public void Post(AuthenticateUser request)
{
// No response needed. Will throw an exception on failure.
- await AuthenticateUser(request).ConfigureAwait(false);
+ var result = AuthenticateUser(request).Result;
}
- public async Task