Merge remote-tracking branch 'github/fix/1.0.6/admin-permission' into test

This commit is contained in:
LinkinStars 2023-03-01 11:48:42 +08:00
commit 217bfd6389
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}