Authentication tweaks

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-09-06 14:50:16 -04:00
parent 79cfbb1768
commit b12da143d1
2 changed files with 3 additions and 3 deletions
@@ -12,7 +12,7 @@ namespace MediaBrowser.Api.HttpHandlers
{
protected override async Task<AuthenticationResult> GetObjectToSerialize()
{
Guid userId = Guid.Parse(await GetFormValue("userId").ConfigureAwait(false));
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);