diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-04-08 14:31:18 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-04-08 14:33:04 -0400 |
| commit | 2f0c2b4c660260e1cc34e66fdf0ee6f22115b8b7 (patch) | |
| tree | 7e1c13c0f54b43cca228c2a2fc3af5aced6b7a90 /MediaBrowser.Api/UserService.cs | |
| parent | 8457da7eacb047ca73b02b42f04f971ed7f1002b (diff) | |
update linux iso mounter
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 bbae918a1..fde03e1f2 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 != null) + if (success == null) { throw new ArgumentException("Invalid user or password entered."); } |
