fix(auth): harden pending oauth and backend mode flows
This commit is contained in:
@@ -678,6 +678,8 @@ func (h *AuthHandler) Logout(c *gin.Context) {
|
||||
// 不影响登出流程
|
||||
}
|
||||
}
|
||||
h.consumePendingOAuthSessionOnLogout(c)
|
||||
clearOAuthLogoutCookies(c)
|
||||
|
||||
response.Success(c, LogoutResponse{
|
||||
Message: "Logged out successfully",
|
||||
|
||||
Reference in New Issue
Block a user