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

chore(templates): remove console.log that logs payload secret for security #10095

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

shrinidhi4u
Copy link
Contributor

I noticed that payload.secret was getting logged via console.log, adding a significant security risk.
Removed the console.log statements from three preview/route.ts files.

@shrinidhi4u shrinidhi4u changed the title chore(templates): remove console.log that logs payload secret for sec… chore(templates): remove console.log that logs payload secret for security Dec 20, 2024
@DanRibbens DanRibbens enabled auto-merge (squash) December 20, 2024 16:46
@DanRibbens
Copy link
Contributor

Appreciate it @shrinidhi4u!
We'll get this merged soon.

@DanRibbens DanRibbens merged commit dec87e9 into payloadcms:main Dec 20, 2024
23 checks passed
Copy link
Contributor

🚀 This is included in version v3.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants