From ea90d09dc3cbd6066556c293b44e0f5549f0db14 Mon Sep 17 00:00:00 2001 From: lukeIam Date: Sat, 16 Nov 2013 14:18:24 +0100 Subject: [PATCH] Webserver: -mod: setUserrole uses now CProfiles.EditProfile() --- Vocaluxe/Base/Server/CVocaluxeServer.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)