浏览代码

Mark PasswordSha1 as obsolete

crobibero 4 年之前
父节点
当前提交
940c30081e

+ 1 - 1
Emby.Server.Implementations/Session/SessionManager.cs

@@ -1485,7 +1485,7 @@ namespace Emby.Server.Implementations.Session
                 user = await _userManager.AuthenticateUser(
                     request.Username,
                     request.Password,
-                    request.PasswordSha1,
+                    null,
                     request.RemoteEndPoint,
                     true).ConfigureAwait(false);
             }

+ 1 - 0
MediaBrowser.Controller/Session/AuthenticationRequest.cs

@@ -12,6 +12,7 @@ namespace MediaBrowser.Controller.Session
 
         public string Password { get; set; }
 
+        [Obsolete("Send full password in Password field")]
         public string PasswordSha1 { get; set; }
 
         public string App { get; set; }