diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-04-23 10:17:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 10:17:49 +0200 |
| commit | 1a54338e380f2206245a3867843146bd2ae72295 (patch) | |
| tree | fdf196e03ef50841b31ebec2e3baa511d8d32f53 /Jellyfin.Api/Controllers/UserController.cs | |
| parent | 184e05aeb68900b41c5a5dc74894eddb64be25ae (diff) | |
| parent | 940c30081ef8b9290d9f3c24b5529b2e593f924c (diff) | |
Merge pull request #5892 from crobibero/password-obsolete
Diffstat (limited to 'Jellyfin.Api/Controllers/UserController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/UserController.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Jellyfin.Api/Controllers/UserController.cs b/Jellyfin.Api/Controllers/UserController.cs index 3c0d2aca1..b13db4baa 100644 --- a/Jellyfin.Api/Controllers/UserController.cs +++ b/Jellyfin.Api/Controllers/UserController.cs @@ -177,11 +177,9 @@ namespace Jellyfin.Api.Controllers return StatusCode(StatusCodes.Status403Forbidden, "Only sha1 password is not allowed."); } - // Password should always be null AuthenticateUserByName request = new AuthenticateUserByName { Username = user.Username, - Password = null, Pw = pw }; return await AuthenticateUserByName(request).ConfigureAwait(false); @@ -208,7 +206,6 @@ namespace Jellyfin.Api.Controllers DeviceId = auth.DeviceId, DeviceName = auth.Device, Password = request.Pw, - PasswordSha1 = request.Password, RemoteEndPoint = HttpContext.GetNormalizedRemoteIp().ToString(), Username = request.Username }).ConfigureAwait(false); |
