1
This commit is contained in:
@@ -145,7 +145,7 @@ namespace WebAPI.Controllers
|
||||
db.SubmitChanges();
|
||||
// FormsAuthentication.SetAuthCookie(person.PersonId, true, FormsAuthentication.FormsCookiePath);
|
||||
FormsAuthenticationTicket Tick = new FormsAuthenticationTicket(1,
|
||||
sysUser.Account,
|
||||
person.PersonName,
|
||||
DateTime.Now,
|
||||
DateTime.Now.AddYears(10), //十年有效期
|
||||
false,
|
||||
|
||||
Reference in New Issue
Block a user