The Free Software Media System - Server Backend & API
Apply suggestions from code review
Bond-0094cea6d9ccfa5
diff --git a/MediaBrowser.Common/Cryptography/PasswordHash.cs b/MediaBrowser.Common/Cryptography/PasswordHash.csindex 81e980bf2f..f2ecc4741b 100644--- a/MediaBrowser.Common/Cryptography/PasswordHash.cs+++ b/MediaBrowser.Common/Cryptography/PasswordHash.cs@@ -123,7 +123,7 @@ namespace MediaBrowser.Common.Cryptographyint splitIndex = parameter.IndexOf('=');if (splitIndex == -1 || splitIndex == 0 || splitIndex == parameter.Length - 1){- throw new FormatException($"Malformed parameter in password hash string");+ throw new FormatException("Malformed parameter in password hash string");}(parameters ??= new Dictionary<string, string>()).Add(@@ -143,7 +143,7 @@ namespace MediaBrowser.Common.Cryptographyif (nextSegment == 0){- throw new FormatException($"Hash string contains an empty segment");+ throw new FormatException("Hash string contains an empty segment");}byte[] hash;