aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs')
-rw-r--r--MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs b/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs
index ed588e776..86f3c477a 100644
--- a/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs
+++ b/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs
@@ -17,12 +17,10 @@ namespace MediaBrowser.Api.HttpHandlers
string password = await GetFormValue("password").ConfigureAwait(false);
- AuthenticationResult result = new AuthenticationResult()
+ return new AuthenticationResult()
{
Success = true
- };
-
- return result;
+ };
}
}
}