Changeset 13862 for branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Controllers/UserController.cs
- Timestamp:
- 05/30/16 16:52:40 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Controllers/UserController.cs
r13860 r13862 20 20 #endregion 21 21 22 using HeuristicLab.Clients.Access.Administration;23 22 using HeuristicLab.Clients.Hive.WebJobManager.Services; 23 using HeuristicLab.Clients.Hive.WebJobManager.Services.Imports; 24 24 using HeuristicLab.Clients.Hive.WebJobManager.ViewModels.User; 25 25 using Microsoft.AspNetCore.Hosting; … … 27 27 using Microsoft.AspNetCore.Mvc; 28 28 using System; 29 using System.Collections.Generic;30 using System.Linq;31 using System.Net.Mail;32 using System.ServiceModel.Security;33 using System.Threading.Tasks;34 29 35 30 namespace HeuristicLab.Clients.Hive.WebJobManager.Controllers … … 191 186 accessClient.addMember(user, group); 192 187 } 193 return RedirectToAction("SelectUser", new { id = uid.ToString() }); 188 if (uid != Guid.Empty && uid == weblog.getCurrentUser(userId).currentUser.Id) 189 return RedirectToAction("Index", "Home");//Logout if current user 190 else 191 return RedirectToAction("SelectUser", new { id = uid.ToString() }); 194 192 } 195 193 else
Note: See TracChangeset
for help on using the changeset viewer.