Skip to content

fix: auth security, captcha, bulk guards, and type safety#866

Merged
nanaf6203-bit merged 2 commits into
MettaChain:mainfrom
temiport25:temiport25/fix-auth-security-issues
Jul 7, 2026
Merged

fix: auth security, captcha, bulk guards, and type safety#866
nanaf6203-bit merged 2 commits into
MettaChain:mainfrom
temiport25:temiport25/fix-auth-security-issues

Conversation

@temiport25

Copy link
Copy Markdown
Contributor

Closes #676
Closes #677
Closes #678
Closes #679

- Hash reset token before storing, email raw token (MettaChain#677)
- Add NODE_ENV guard to captcha bypass (MettaChain#676)
- Add @roles(ADMIN) guard to bulk property endpoints (MettaChain#678)
- Remove (user as any).role casts from documents controller (MettaChain#679)
@drips-wave

drips-wave Bot commented Jul 7, 2026

Copy link
Copy Markdown

@temiport25 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@nanaf6203-bit nanaf6203-bit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@nanaf6203-bit nanaf6203-bit merged commit 49a6fb9 into MettaChain:main Jul 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants