diff --git a/Vocaluxe/Base/Server/CVocaluxeServer.cs b/Vocaluxe/Base/Server/CVocaluxeServer.cs index 7bc3a62d..d750b673 100644 --- a/Vocaluxe/Base/Server/CVocaluxeServer.cs +++ b/Vocaluxe/Base/Server/CVocaluxeServer.cs @@ -684,8 +684,10 @@ namespace Vocaluxe.Base.Server { throw new ArgumentException("Invalid profileId"); } - + profile.UserRoles = userRole; + + CProfiles.EditProfile(profile); } private static int _GetUserIdFromUsername(string username)