소스 검색

Mark PasswordSha1 as obsolete

crobibero 4 년 전
부모
커밋
940c30081e
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Emby.Server.Implementations/Session/SessionManager.cs
  2. 1 0
      MediaBrowser.Controller/Session/AuthenticationRequest.cs

+ 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; }