From 79cfbb17688a083eee3caeb88403659fa23774df Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Thu, 6 Sep 2012 14:42:21 -0400 Subject: Move userId to post data --- MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs') diff --git a/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs b/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs index 0905016c4..c0ee2ff0e 100644 --- a/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs +++ b/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs @@ -12,7 +12,7 @@ namespace MediaBrowser.Api.HttpHandlers { protected override async Task GetObjectToSerialize() { - Guid userId = Guid.Parse(QueryString["userid"]); + Guid userId = Guid.Parse(await GetFormValue("userId").ConfigureAwait(false)); User user = Kernel.Instance.Users.First(u => u.Id == userId); string password = await GetFormValue("password").ConfigureAwait(false); -- cgit v1.2.3