Browse Source

Mark PasswordSha1 as obsolete

crobibero 4 years ago
parent
commit
940c30081e

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

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

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

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