diff --git a/Vocaluxe/Base/Server/CVocaluxeServer.cs b/Vocaluxe/Base/Server/CVocaluxeServer.cs index 380fe414..820318b1 100644 --- a/Vocaluxe/Base/Server/CVocaluxeServer.cs +++ b/Vocaluxe/Base/Server/CVocaluxeServer.cs @@ -256,6 +256,8 @@ namespace Vocaluxe.Base.Server if (existingProfile != null) { CProfiles.EditProfile(newProfile); + CProfiles.Update(); + CProfiles.SaveProfiles(); } else { @@ -607,7 +609,6 @@ namespace Vocaluxe.Base.Server #region user management - private static bool _ValidatePassword(int profileId, string password) { CProfile profile = CProfiles.GetProfile(profileId); @@ -688,6 +689,8 @@ namespace Vocaluxe.Base.Server profile.UserRoles = userRole; CProfiles.EditProfile(profile); + CProfiles.Update(); + CProfiles.SaveProfiles(); } private static int _GetUserIdFromUsername(string username)