update linux iso mounter

This commit is contained in:
Luke Pulverenti
2017-04-08 14:31:18 -04:00
parent 46ece1dbc2
commit 48ad0ad93b
5 changed files with 13 additions and 3 deletions

View File

@@ -461,7 +461,7 @@ namespace MediaBrowser.Api
{
var success = await _userManager.AuthenticateUser(user.Name, request.CurrentPassword, Request.RemoteIp).ConfigureAwait(false);
if (success != null)
if (success == null)
{
throw new ArgumentException("Invalid user or password entered.");
}