Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/08/11 16:04:26 (14 years ago)
Author:
dkahn
Message:

#1198 restoring membership provider and removing Query references.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Controllers/AccountController.cs

    r5920 r5988  
    3838    public ActionResult LogOn(LogOnModel model, string returnUrl) {
    3939      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
    4446          FormsService.SignIn(model.UserName, model.RememberMe);
    4547          if (!String.IsNullOrEmpty(returnUrl)) {
Note: See TracChangeset for help on using the changeset viewer.