Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code fixed that redefines the response.end as async at with-passport-and-next-connect #51628 #54400

Closed
wants to merge 2 commits into from

Conversation

vrun1208
Copy link

@vrun1208 vrun1208 commented Aug 22, 2023

@vrun1208 vrun1208 requested review from a team as code owners August 22, 2023 20:30
@ijjk ijjk added area: documentation examples Issue was opened via the examples template. labels Aug 22, 2023
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
passed Passed Secrets high 0  medium 0  low 0  info 0

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is the error message linked to?

if (res.finished || res.writableEnded || res.headersSent) return
if (cookieOpts.maxAge) {
req.session.maxAge = cookieOpts.maxAge
}

const token = await createLoginSession(req.session, secret)
const token = createLoginSession(req.session, secret)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leerob
Copy link
Member

leerob commented Dec 25, 2023

Closing as stale 🙏

@leerob leerob closed this Dec 25, 2023
@github-actions github-actions bot added the locked label Jan 9, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue was opened via the examples template. locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

with-passport-and-next-connect redefines response end function as async
4 participants