The Free Software Media System - Server Backend & API
Mark PasswordSha1 as obsolete
crobibero940c30081ef8
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.csindex 10e28c33a5..6f21ec31e5 100644--- a/Emby.Server.Implementations/Session/SessionManager.cs+++ b/Emby.Server.Implementations/Session/SessionManager.cs@@ -1485,7 +1485,7 @@ namespace Emby.Server.Implementations.Sessionuser = await _userManager.AuthenticateUser(request.Username,request.Password,- request.PasswordSha1,+ null,request.RemoteEndPoint,true).ConfigureAwait(false);}diff --git a/MediaBrowser.Controller/Session/AuthenticationRequest.cs b/MediaBrowser.Controller/Session/AuthenticationRequest.csindex cc321fd22e..8c3ac58f2b 100644--- a/MediaBrowser.Controller/Session/AuthenticationRequest.cs+++ b/MediaBrowser.Controller/Session/AuthenticationRequest.cs@@ -12,6 +12,7 @@ namespace MediaBrowser.Controller.Sessionpublic string Password { get; set; }+ [Obsolete("Send full password in Password field")]public string PasswordSha1 { get; set; }public string App { get; set; }