aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserService.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-02-01 22:44:27 +0900
committerdkanada <dkanada@users.noreply.github.com>2020-02-01 22:44:27 +0900
commitafe9ed977b9b1fe83cb0132ddf753040a4bb95e3 (patch)
tree86675b6d6caca8640a91531380295b24d7a67867 /MediaBrowser.Api/UserService.cs
parentab2349ff3c7170bea90cffe33fce6d9f10a6c183 (diff)
improve scan progress and fix a few bugs
Diffstat (limited to 'MediaBrowser.Api/UserService.cs')
-rw-r--r--MediaBrowser.Api/UserService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/UserService.cs b/MediaBrowser.Api/UserService.cs
index e1b01b012..0d63c19b5 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
});
}