diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-02-05 23:28:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-05 23:28:00 +0100 |
| commit | d5fcca3d052128543be3750ce2ae934662a0611b (patch) | |
| tree | c77c8df888ba6f335caf3e0c88bd5824b2c84852 /MediaBrowser.Api/UserService.cs | |
| parent | dc62e436c43362f2193415f4c81280c6c1a8560c (diff) | |
| parent | e8984ed3a9218ff6e37e798e0a2b5cdc4a09240c (diff) | |
Merge branch 'master' into naming
Diffstat (limited to 'MediaBrowser.Api/UserService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/UserService.cs b/MediaBrowser.Api/UserService.cs index e1b01b012..ac140150b 100644 --- a/MediaBrowser.Api/UserService.cs +++ b/MediaBrowser.Api/UserService.cs @@ -281,7 +281,6 @@ namespace MediaBrowser.Api { IsHidden = false, IsDisabled = false - }, true, true); } @@ -395,10 +394,11 @@ namespace MediaBrowser.Api throw new MethodNotAllowedException("Hashed-only passwords are not valid for this API."); } + // Password should always be null return Post(new AuthenticateUserByName { Username = user.Name, - Password = null, // This should always be null + Password = null, Pw = request.Pw }); } |
