mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-01 02:15:07 +08:00
优化jwt
This commit is contained in:
@@ -24,7 +24,7 @@ public class SessionIdUserTokenGenerator implements UserTokenGenerator ,Serializ
|
||||
if(null==request)throw new UnsupportedOperationException();
|
||||
|
||||
|
||||
int timeout =request.getSession().getMaxInactiveInterval();
|
||||
int timeout =request.getSession().getMaxInactiveInterval()*1000;
|
||||
|
||||
String sessionId = request.getSession().getId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user