Webserver: -fix: used PasswordHash instead of PasswordSalt once

This commit is contained in:
lukeIam committed 2013-12-13 18:03:21 +01:00
1 parent ad717ea56e
commit 252ef113ce
1 file changed
+1 -1
+1 -1
View File
@@ -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");