mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
学员安全登出
This commit is contained in:
@@ -61,6 +61,8 @@ public class FrontMiddleware implements HandlerInterceptor {
|
||||
|
||||
PlayEduFCtx.setUserId(user.getId());
|
||||
PlayEduFCtx.setUser(user);
|
||||
PlayEduFCtx.setJWtJti(token);
|
||||
PlayEduFCtx.setJWtJti(payload.getJti());
|
||||
|
||||
return HandlerInterceptor.super.preHandle(request, response, handler);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user