Changeset 5988 for branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Controllers
- Timestamp:
- 04/08/11 16:04:26 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Controllers/AccountController.cs
r5920 r5988 38 38 public ActionResult LogOn(LogOnModel model, string returnUrl) { 39 39 if (ModelState.IsValid) { 40 QueryServiceClient client = Query.GetClientFactory(model.UserName, model.Password); 41 if (client != null) { 42 Session["Username"] = model.UserName; 43 Session["Password"] = model.Password; 40 // QueryServiceClient client = Query.GetClientFactory(model.UserName, model.Password); 41 42 43 44 if (MembershipService.ValidateUser(model.UserName, model.Password)) { 45 44 46 FormsService.SignIn(model.UserName, model.RememberMe); 45 47 if (!String.IsNullOrEmpty(returnUrl)) {
Note: See TracChangeset
for help on using the changeset viewer.