mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 14:33:06 +03:00
update home sections
This commit is contained in:
@@ -461,7 +461,7 @@ namespace MediaBrowser.Api
|
||||
{
|
||||
var success = await _userManager.AuthenticateUser(user.Name, request.CurrentPassword, Request.RemoteIp).ConfigureAwait(false);
|
||||
|
||||
if (!success)
|
||||
if (success != null)
|
||||
{
|
||||
throw new ArgumentException("Invalid user or password entered.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user