Add missing base64 conversion

pull/915/head
Claus Vium 6 years ago
parent 1e2050f106
commit 139807719c

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

Loading…
Cancel
Save