Răsfoiți Sursa

Remove deprecated Password field from AuthenticateUserByName

Niels van Velzen 2 ani în urmă
părinte
comite
7a3a9fb7e4
1 a modificat fișierele cu 1 adăugiri și 9 ștergeri
  1. 1 9
      Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs

+ 1 - 9
Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs

@@ -1,6 +1,4 @@
-using System;
-
-namespace Jellyfin.Api.Models.UserDtos
+namespace Jellyfin.Api.Models.UserDtos
 {
 {
     /// <summary>
     /// <summary>
     /// The authenticate user by name request body.
     /// The authenticate user by name request body.
@@ -16,11 +14,5 @@ namespace Jellyfin.Api.Models.UserDtos
         /// Gets or sets the plain text password.
         /// Gets or sets the plain text password.
         /// </summary>
         /// </summary>
         public string? Pw { get; set; }
         public string? Pw { get; set; }
-
-        /// <summary>
-        /// Gets or sets the sha1-hashed password.
-        /// </summary>
-        [Obsolete("Send password using pw field")]
-        public string? Password { get; set; }
     }
     }
 }
 }