diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-24 18:01:44 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-24 18:01:44 +0200 |
| commit | 7a9e8e8721e895b30a2652e2aaaeb6401b72250e (patch) | |
| tree | 34d32213abff37393e3a50d8174f83c4dd70aaba /Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs | |
| parent | 3c7eaada79d88d6b3f6eb2dc133cdb5c80b72eb8 (diff) | |
| download | Tango-7a9e8e8721e895b30a2652e2aaaeb6401b72250e.tar.gz Tango-7a9e8e8721e895b30a2652e2aaaeb6401b72250e.zip | |
Redundant.
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs')
| -rw-r--r-- | Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
