mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Added Async suffix
This commit is contained in:
parent
b12da143d1
commit
75b015c864
@ -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;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -652,7 +652,7 @@ namespace MediaBrowser.ApiInteraction
|
||||
/// <summary>
|
||||
/// Authenticates a user and returns the result
|
||||
/// </summary>
|
||||
public async Task<AuthenticationResult> AuthenticateUser(Guid userId, string password)
|
||||
public async Task<AuthenticationResult> AuthenticateUserAsync(Guid userId, string password)
|
||||
{
|
||||
string url = ApiUrl + "/UserAuthentication?dataformat=" + SerializationFormat.ToString();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user