Webserver: -mod: setUserrole uses now CProfiles.EditProfile()
This commit is contained in:
1 parent
1750253f1f
commit
ea90d09dc3
1 file changed
+3
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user