mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-28 21:11:55 +00:00
Move userId to post data
This commit is contained in:
parent
3538789e46
commit
79cfbb1768
@@ -12,7 +12,7 @@ namespace MediaBrowser.Api.HttpHandlers
|
||||
{
|
||||
protected override async Task<AuthenticationResult> 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);
|
||||
|
||||
Reference in New Issue
Block a user