From 252ef113cef23562cc624676bcc07c708452c83a Mon Sep 17 00:00:00 2001 From: lukeIam Date: Tue, 3 Dec 2013 20:23:13 +0100 Subject: [PATCH] Webserver: -fix: used PasswordHash instead of PasswordSalt once --- VocaluxeLib/Profile/CProfile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VocaluxeLib/Profile/CProfile.cs b/VocaluxeLib/Profile/CProfile.cs index bae8a241..466de93f 100644 --- a/VocaluxeLib/Profile/CProfile.cs +++ b/VocaluxeLib/Profile/CProfile.cs @@ -94,7 +94,7 @@ namespace VocaluxeLib.Profile xmlReader.GetValue("//root/Info/PasswordHash", out passwordHash, ""); PasswordHash = !string.IsNullOrEmpty(passwordHash) ? Convert.FromBase64String(passwordHash) : null; string passwordSalt; - xmlReader.GetValue("//root/Info/PasswordHash", out passwordSalt, ""); + xmlReader.GetValue("//root/Info/PasswordSalt", out passwordSalt, ""); PasswordSalt = !string.IsNullOrEmpty(passwordSalt) ? Convert.FromBase64String(passwordSalt) : null; string userRoles; xmlReader.GetValue("//root/Info/UserRoles", out userRoles, "0");