UpdateUserPassword.cs 798 B

12345678910111213141516171819202122232425262728
  1. namespace Jellyfin.Api.Models.UserDtos
  2. {
  3. /// <summary>
  4. /// The update user password request body.
  5. /// </summary>
  6. public class UpdateUserPassword
  7. {
  8. /// <summary>
  9. /// Gets or sets the current sha1-hashed password.
  10. /// </summary>
  11. public string? CurrentPassword { get; set; }
  12. /// <summary>
  13. /// Gets or sets the current plain text password.
  14. /// </summary>
  15. public string? CurrentPw { get; set; }
  16. /// <summary>
  17. /// Gets or sets the new plain text password.
  18. /// </summary>
  19. public string? NewPw { get; set; }
  20. /// <summary>
  21. /// Gets or sets a value indicating whether to reset the password.
  22. /// </summary>
  23. public bool ResetPassword { get; set; }
  24. }
  25. }