예제 #1
0
        public SignUpForm(HttpContextBase httpContext, TempDataDictionary tempData, string returnUrl)
        {
            var cookieValue = httpContext.SigningEmailAddressCookie();

            EmailAddress = cookieValue ?? tempData.SigningEmailAddress();
            ReturnUrl    = returnUrl;
        }
예제 #2
0
        public SignInForm(HttpContextBase httpContext, TempDataDictionary tempData, string returnUrl)
        {
            var cookieValue = httpContext.SigningEmailAddressCookie();

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