From cac101cc21b5420160a53a64d0950344ee3cd637 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 22 Dec 2013 12:17:01 -0500 Subject: [PATCH] return post body when authenticating by id --- MediaBrowser.Api/UserService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.Api/UserService.cs b/MediaBrowser.Api/UserService.cs index a64152246b..254fa6ff1e 100644 --- a/MediaBrowser.Api/UserService.cs +++ b/MediaBrowser.Api/UserService.cs @@ -269,10 +269,12 @@ namespace MediaBrowser.Api /// Posts the specified request. /// /// The request. - public void Post(AuthenticateUser request) + public object Post(AuthenticateUser request) { // No response needed. Will throw an exception on failure. var result = AuthenticateUser(request).Result; + + return result; } public object Post(AuthenticateUserByName request)