修改退出逻辑

IRC_NewDev
hang 2024-04-17 12:26:56 +08:00
parent f85ac8a813
commit 1ba9efe894
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class LimitUserRequestAuthorization : IAsyncAuthorizationFilter
//设置当前用户最新Token
await _provider.SetAsync(_userInfo.Id.ToString(), _userInfo.UserToken, TimeSpan.FromDays(7));
await _provider.SetAsync($"{_userInfo.Id.ToString()}_Online", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), TimeSpan.FromMinutes(minutes));
}
//是同一个人