Fix password change during parental schedule

This commit is contained in:
David Ullmer
2022-06-26 12:43:17 +02:00
parent d342b79218
commit 7efa4e38c1
3 changed files with 8 additions and 5 deletions

View File

@@ -138,8 +138,9 @@ namespace MediaBrowser.Controller.Library
/// <param name="passwordSha1">Hash of password.</param>
/// <param name="remoteEndPoint">Remove endpoint to use.</param>
/// <param name="isUserSession">Specifies if a user session.</param>
/// <param name="ignoreParentalSchedule">Ignore parental control schedule during authentication.</param>
/// <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 passwordSha1, string remoteEndPoint, bool isUserSession, bool ignoreParentalSchedule = false);
/// <summary>
/// Starts the forgot password process.