aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
diff options
context:
space:
mode:
authorPhallacy <Dragoonmac@gmail.com>2019-02-27 23:05:12 -0800
committerPhallacy <Dragoonmac@gmail.com>2019-02-27 23:05:12 -0800
commitedba82db373da8fbab8159d6ab2483052ebab231 (patch)
tree3b32f2a70ea18208811c079ecd311a246625f2d1 /Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
parent098de6b0501eaa0375fc5bfd7cff369815b57718 (diff)
fixed logic flip in auth empty check and fixed crypto algo choice
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 b58374adb..7ccdccc0a 100644
--- a/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
+++ b/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
@@ -95,7 +95,7 @@ namespace Emby.Server.Implementations.Library
//but at least they are in the new format.
private void ConvertPasswordFormat(User user)
{
- if (!string.IsNullOrEmpty(user.Password))
+ if (string.IsNullOrEmpty(user.Password))
{
return;
}