diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-12-11 00:13:57 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-12-11 00:13:57 +0100 |
| commit | 2ef4ffd698fb4ae95754f76238e52cfb6162db24 (patch) | |
| tree | 0145395cb02847d0da4f6100ca7dc03f5751d0e1 /Emby.Server.Implementations/Library/UserManager.cs | |
| parent | 67922dff50967c02e8c0c10f43884fd4e788b012 (diff) | |
More warnings (removed)
Diffstat (limited to 'Emby.Server.Implementations/Library/UserManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/UserManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/UserManager.cs b/Emby.Server.Implementations/Library/UserManager.cs index 85bfa154a..c7f6de24f 100644 --- a/Emby.Server.Implementations/Library/UserManager.cs +++ b/Emby.Server.Implementations/Library/UserManager.cs @@ -1,4 +1,5 @@ #pragma warning disable CS1591 +#pragma warning disable SA1600 using System; using System.Collections.Concurrent; @@ -480,7 +481,7 @@ namespace Emby.Server.Implementations.Library var hash = _cryptoProvider.ComputeHash( passwordHash.Id, Encoding.UTF8.GetBytes(password), - passwordHash.Salt); + passwordHash.Salt.ToArray()); success = passwordHash.Hash.SequenceEqual(hash); } |
