mirror of https://gitee.com/answerdev/answer.git
fix(user): Remove admin cache when user logout.
This commit is contained in:
parent
1de3ec27e5
commit
cd742b7560
|
@ -203,6 +203,7 @@ func (uc *UserController) UserLogout(ctx *gin.Context) {
|
|||
return
|
||||
}
|
||||
_ = uc.authService.RemoveUserCacheInfo(ctx, accessToken)
|
||||
_ = uc.authService.RemoveAdminUserCacheInfo(ctx, accessToken)
|
||||
handler.HandleResponse(ctx, nil, nil)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue