Commit 9bf8b2c7 by 泽锋 李

fix

parent 19a126f8
...@@ -54,8 +54,9 @@ namespace AutoTurnOver.Models ...@@ -54,8 +54,9 @@ namespace AutoTurnOver.Models
} }
if (token != null) if (token != null)
{ {
context.Response.Cookies.Delete("BailunToken"); token = WebUtility.UrlDecode(token);
context.Response.Cookies.Append("BailunToken",token,new CookieOptions { Domain = "bailuntec.com"}); //context.Response.Cookies.Delete("BailunToken");
//context.Response.Cookies.Append("BailunToken",token,new CookieOptions { Domain = "bailuntec.com"});
var getTokenValid = ConfigHelper.GetValue("Saas_GetTokenValid").ToString(); var getTokenValid = ConfigHelper.GetValue("Saas_GetTokenValid").ToString();
var getUser = ConfigHelper.GetValue("Saas_GetUser").ToString(); var getUser = ConfigHelper.GetValue("Saas_GetUser").ToString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment