aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteUserRepository.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-04-25 07:27:37 +0200
committerGitHub <noreply@github.com>2019-04-25 07:27:37 +0200
commit61d7bed18145cd8b56b748a87b9398fb75332044 (patch)
treeb48499b493aaec6ffdc538c297f865e5259e5063 /Emby.Server.Implementations/Data/SqliteUserRepository.cs
parenta0e61ee67f56a6f2735c3f3e8f97e3da794c0c1a (diff)
parent28c2ac528d46ba97b920d37300fa814bd6f4a51a (diff)
Merge pull request #1304 from jellyfin/release-10.3.z
Backmerge 10.3.1
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteUserRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteUserRepository.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteUserRepository.cs b/Emby.Server.Implementations/Data/SqliteUserRepository.cs
index 182df0edc..5957b2903 100644
--- a/Emby.Server.Implementations/Data/SqliteUserRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteUserRepository.cs
@@ -81,7 +81,7 @@ namespace Emby.Server.Implementations.Data
{
// If the user password is the sha1 hash of the empty string, remove it
if (!string.Equals(user.Password, "DA39A3EE5E6B4B0D3255BFEF95601890AFD80709", StringComparison.Ordinal)
- || !string.Equals(user.Password, "$SHA1$DA39A3EE5E6B4B0D3255BFEF95601890AFD80709", StringComparison.Ordinal))
+ && !string.Equals(user.Password, "$SHA1$DA39A3EE5E6B4B0D3255BFEF95601890AFD80709", StringComparison.Ordinal))
{
continue;
}