mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-30 19:55:08 -04:00
Remove passwordSha1 param from AuthenticateUser function
This commit is contained in:
parent
9644e894f0
commit
eca5abe4bb
@ -1468,7 +1468,6 @@ namespace Emby.Server.Implementations.Session
|
|||||||
user = await _userManager.AuthenticateUser(
|
user = await _userManager.AuthenticateUser(
|
||||||
request.Username,
|
request.Username,
|
||||||
request.Password,
|
request.Password,
|
||||||
null,
|
|
||||||
request.RemoteEndPoint,
|
request.RemoteEndPoint,
|
||||||
true).ConfigureAwait(false);
|
true).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
@ -296,7 +296,6 @@ public class UserController : BaseJellyfinApiController
|
|||||||
var success = await _userManager.AuthenticateUser(
|
var success = await _userManager.AuthenticateUser(
|
||||||
user.Username,
|
user.Username,
|
||||||
request.CurrentPw ?? string.Empty,
|
request.CurrentPw ?? string.Empty,
|
||||||
request.CurrentPw ?? string.Empty,
|
|
||||||
HttpContext.GetNormalizedRemoteIP().ToString(),
|
HttpContext.GetNormalizedRemoteIP().ToString(),
|
||||||
false).ConfigureAwait(false);
|
false).ConfigureAwait(false);
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace Jellyfin.Api.Models.UserDtos;
|
namespace Jellyfin.Api.Models.UserDtos;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The update user easy password request body.
|
/// The update user easy password request body.
|
||||||
|
@ -384,7 +384,6 @@ namespace Jellyfin.Server.Implementations.Users
|
|||||||
public async Task<User?> AuthenticateUser(
|
public async Task<User?> AuthenticateUser(
|
||||||
string username,
|
string username,
|
||||||
string password,
|
string password,
|
||||||
string passwordSha1,
|
|
||||||
string remoteEndPoint,
|
string remoteEndPoint,
|
||||||
bool isUserSession)
|
bool isUserSession)
|
||||||
{
|
{
|
||||||
|
@ -117,11 +117,10 @@ namespace MediaBrowser.Controller.Library
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="username">The user.</param>
|
/// <param name="username">The user.</param>
|
||||||
/// <param name="password">The password to use.</param>
|
/// <param name="password">The password to use.</param>
|
||||||
/// <param name="passwordSha1">Hash of password.</param>
|
|
||||||
/// <param name="remoteEndPoint">Remove endpoint to use.</param>
|
/// <param name="remoteEndPoint">Remove endpoint to use.</param>
|
||||||
/// <param name="isUserSession">Specifies if a user session.</param>
|
/// <param name="isUserSession">Specifies if a user session.</param>
|
||||||
/// <returns>User wrapped in awaitable task.</returns>
|
/// <returns>User wrapped in awaitable task.</returns>
|
||||||
Task<User?> AuthenticateUser(string username, string password, string passwordSha1, string remoteEndPoint, bool isUserSession);
|
Task<User?> AuthenticateUser(string username, string password, string remoteEndPoint, bool isUserSession);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Starts the forgot password process.
|
/// Starts the forgot password process.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user