mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
延长登陆时间
This commit is contained in:
@@ -52,7 +52,7 @@ namespace OpenAuth.App.SSO
|
||||
{
|
||||
UserName = model.UserName,
|
||||
Token = Guid.NewGuid().ToString().GetHashCode().ToString("x"),
|
||||
InvalidTime = DateTime.Now.AddMinutes(10),
|
||||
InvalidTime = DateTime.Now.AddDays(1),
|
||||
AppKey = model.AppKey,
|
||||
CreateTime = DateTime.Now,
|
||||
IpAddress = HttpContext.Current.Request.UserHostAddress
|
||||
|
Reference in New Issue
Block a user