Add missing base64 conversion

This commit is contained in:
Claus Vium 2019-02-16 17:21:42 +01:00
parent 1e2050f106
commit 139807719c

View File

@ -69,7 +69,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
private static string EncodePassword(string password)
{
var bytes = Encoding.UTF8.GetBytes(password);
return PasswordHashPrefix + bytes;
return PasswordHashPrefix + Convert.ToBase64String(bytes);
}
private static string DecodePassword(string password)