public SignUpForm(HttpContextBase httpContext, TempDataDictionary tempData, string returnUrl) { var cookieValue = httpContext.SigningEmailAddressCookie(); EmailAddress = cookieValue ?? tempData.SigningEmailAddress(); ReturnUrl = returnUrl; }
public SignInForm(HttpContextBase httpContext, TempDataDictionary tempData, string returnUrl) { var cookieValue = httpContext.SigningEmailAddressCookie(); EmailAddress = cookieValue ?? tempData.SigningEmailAddress(); RememberMe = !string.IsNullOrWhiteSpace(cookieValue); ReturnUrl = returnUrl; }