浏览代码

Mark password property as obsolete

crobibero 4 年之前
父节点
当前提交
5b0dc21c64
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs

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

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