From 7a9e8e8721e895b30a2652e2aaaeb6401b72250e Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 24 Dec 2018 18:01:44 +0200 Subject: Redundant. --- .../Web/Tango.MachineService/Controllers/MachineStudioController.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs') diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs index 18f8dbc0b..d21a23ca1 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs +++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs @@ -218,6 +218,7 @@ namespace Tango.MachineService.Controllers Email = request.Email, }; new_user.Roles.Add(db.Roles.Single(x => (Roles)x.Code == Roles.User)); + new_user.Roles.Add(db.Roles.Single(x => (Roles)x.Code == Roles.MachineStudioUser)); } else { -- cgit v1.3.1