fixed logic flip in auth empty check and fixed crypto algo choice

This commit is contained in:
Phallacy
2019-02-27 23:05:12 -08:00
parent 098de6b050
commit edba82db37
2 changed files with 24 additions and 12 deletions

View File

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