diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-04-06 16:07:25 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-04-06 16:07:25 -0400 |
| commit | ccb694a89ad5ba63fcae1c9634a55c1f0378d98c (patch) | |
| tree | b045a71d84deeb89a85975d34a7a2ded2642c0d5 /MediaBrowser.Api/UserService.cs | |
| parent | fd71890247ca34bbc2803ead6c75930d36379a13 (diff) | |
update home sections
Diffstat (limited to 'MediaBrowser.Api/UserService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserService.cs b/MediaBrowser.Api/UserService.cs index 96c7fc111..bbae918a1 100644 --- a/MediaBrowser.Api/UserService.cs +++ b/MediaBrowser.Api/UserService.cs @@ -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."); } |
