aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-03-07 02:41:44 -0800
committerGitHub <noreply@github.com>2019-03-07 02:41:44 -0800
commitc31b0b311b339475650aa8812eb57152cac32d80 (patch)
tree2df577b42614a5d6ae97bb1116894202bf7c0abf /Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
parentbef665be364ce1477d09ed268f68c19e0099922f (diff)
Apply suggestions from code review
more minor fixes before I do larger fixes Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
Diffstat (limited to 'Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs')
-rw-r--r--Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs b/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
index 3ac604b40..526509f43 100644
--- a/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
+++ b/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
@@ -101,7 +101,7 @@ namespace Emby.Server.Implementations.Library
if (!user.Password.Contains("$"))
{
string hash = user.Password;
- user.Password = String.Format("$SHA1${0}", hash);
+ user.Password = string.Format("$SHA1${0}", hash);
}
if (user.EasyPassword != null && !user.EasyPassword.Contains("$"))